windowsforms-devexpress-dot-xtralayout-e84b8b54.md
Contains values that specify how default minimum size constraints are calculated for controls that implement the IXtraResizableControl interface.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum ControlMinSizeCalcMode
Public Enum ControlMinSizeCalcMode
| 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.
|
The following properties accept/return ControlMinSizeCalcMode values:
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