ControlMaxSizeCalcMode Enum
Contains values that specify how default maximum size constraints are calculated for controls that implement the IXtraResizableControl interface.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
Members
Name | Description |
---|---|
UseControlMaximumSize
|
The default maximum width and height are specified by the Control.MaximumSize.Width and Control.MaximumSize.Height values, respectively. |
CombineControlMaximumSizeAndIXtraResizableMaxSize
|
The default maximum width is calculated for a control as the maximum of two values: Control.MaximumSize.Width and IXtraResizableControl.MaxSize.Width. The default maximum height is calculated for a control as the maximum of two values: Control.MaximumSize.Height and IXtraResizableControl.MaxSize.Height. |
UseControlMaximumSizeIfNotZero
|
The default maximum width is specified by the Control.MaximumSize.Width property if it is not set to 0; otherwise, the default maximum width is specified by the IXtraResizableControl.MaxSize.Width property. The default maximum height is specified by the Control.MaximumSize.Height property if it is not set to 0; otherwise, the default maximum height is specified by the IXtraResizableControl.MaxSize.Height property. |
Related API Members
The following properties accept/return ControlMaxSizeCalcMode values:
Remarks
Use the OptionsView.ControlDefaultMaxSizeCalcMode property to specify how default maximum size constraints are calculated for controls within the Layout Control.
Note
If the resulting maximum width/height is 0, the control can grow without limits in the horizontal/vertical direction.