windowsforms-devexpress-dot-xtralayout-21dca2d5.md
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
public enum AutoSizeModes
Public Enum AutoSizeModes
| Name | Description |
|---|---|
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:
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