Back to Devexpress

ControlMinSizeCalcMode Enum

windowsforms-devexpress-dot-xtralayout-e84b8b54.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum ControlMinSizeCalcMode
vb
Public Enum ControlMinSizeCalcMode

Members

NameDescription
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:

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

DevExpress.XtraLayout Namespace