Enum PackMode
These values determine the size of the layout. Used for PackMode.
Namespace: Northwoods.Go.Layouts.Extensions
Assembly: PackedWinForms.dll
Syntax
public enum PackMode
Fields
Name | Description |
---|---|
AspectOnly | Nodes will be packed using the AspectRatio property, with no size considerations; this value is used for PackMode. The Spacing property will be respected in this mode. |
ExpandToFit | Nodes will be either compressed or spaced evenly to fit the given Size; this value is used for PackMode. The Spacing property will not be respected in this mode, and will not do anything if set. |
Fit | Nodes will be compressed if necessary (using negative spacing) to fit the given Size. However, if the Size is bigger than the packed shape (with 0 spacing), it will not expand to fit it. This value is used for PackMode. The Spacing property will be respected in this mode, but only if it does not cause the layout to grow larger than the Size. |