All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ControlMinSizeCalcMode Enum

Contains values that specify how default minimum size constraints are calculated for controls that implement the IXtraResizableControl interface.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

public enum ControlMinSizeCalcMode
Public Enum ControlMinSizeCalcMode

Members

Name Description
UseControlMinimumSize

The default minimum width and height are specified by the Control.MinimumSize.Width and Control.MinimumSize.Height values, respectively.

CombineControlMinimumSizeAndIXtraResizableMinSize

The default minimum width is calculated for a control as the minimum of two values: Control.MinimumSize.Width and IXtraResizableControl.MinSize.Width.

The default minimum height is calculated for a control as the minimum of two values: Control.MinimumSize.Height and IXtraResizableControl.MinSize.Height.

UseControlMinimumSizeIfNotZero

The default minimum width is specified by the Control.MinimumSize.Width property if it is not set to 0; otherwise, the default minimum width is specified by the IXtraResizableControl.MinSize.Width property.

The default minimum height is specified by the Control.MinimumSize.Height property if it is not set to 0; otherwise, the default minimum height is specified by the IXtraResizableControl.MinSize.Height property.

Related API Members

The following properties accept/return ControlMinSizeCalcMode values:

Remarks

Use the OptionsView.ControlDefaultMinSizeCalcMode property to specify how default minimum size constraints are calculated for controls within the Layout Control.

NOTE

If the resulting minimum width/height is 0, the control's minimum size is not limited.

See Also