Back to Devexpress

AutoSizeModes Enum

windowsforms-devexpress-dot-xtralayout-21dca2d5.md

latest2.2 KB
Original Source

AutoSizeModes Enum

Enumerates the options that specify how a LayoutControl‘s size is changed when it is positioned within another LayoutControl.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum AutoSizeModes
vb
Public Enum AutoSizeModes

Members

NameDescription
ResizeToMinSize

Forces the embedded LayoutControl to use its minimum size. The LayoutControl does not expand beyond this size.

| | UseMinSizeAndGrow |

The embedded LayoutControl’s minimum size is restricted; while its maximum size is unlimited.

| | UseMinAndMaxSize |

Allows the embedded LayoutControl to resize between specified minimum and maximum bounds.

|

The following properties accept/return AutoSizeModes values:

Remarks

The values listed by this enumeration are used to set the OptionsView.AutoSizeInLayoutControl property.

The LayoutControl minimum size is calculated based on the size constraints of child layout items and can be obtained by reading the root group’s LayoutGroup.MinSize property. The LayoutControl maximum size is returned by the root group’s LayoutGroup.MaxSize property.

See Also

AutoSizeInLayoutControl

MinSize

MaxSize

DevExpress.XtraLayout Namespace