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.v24.2.dll
Declaration
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.