StretchPolicy
StockSharp.Xaml.Diagram.GXDiagram
This lists the policies used to govern if and how the DiagramPanel's Scale is set automatically.
字段
None : StretchPolicy
The default policy, where the HorizontalContentAlignment and VerticalContentAlignment control the effective positioning of the parts in the panel when the DiagramBounds fits within the panel's viewport. The Scale will not change.
Uniform : StretchPolicy
The Position and Scale are automatically adjusted so that the DiagramBounds is fully visible in the panel. The new Scale will not be greater than 1.
UniformToFill : StretchPolicy
The Position and Scale are automatically adjusted so that one of the DiagramBounds's dimensions is fully visible in the panel. The new Scale will not be greater than 1.
Unstretched : StretchPolicy
This is the same as None.