Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public enum AutoSizeModes


Name Description

The embedded LayoutControl’s size is fixed and is equal to its minimum size.


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


The embedded LayoutControl’s size can vary between its minimum and maximum sizes.

Related API Members

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