OptionsView.ControlDefaultMaxSizeCalcMode Property

Gets or sets how default maximum size constraints are calculated for controls that implement the IXtraResizableControl interface.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[DefaultValue(ControlMaxSizeCalcMode.CombineControlMaximumSizeAndIXtraResizableMaxSize)]
public ControlMaxSizeCalcMode ControlDefaultMaxSizeCalcMode { get; set; }
<DefaultValue(ControlMaxSizeCalcMode.CombineControlMaximumSizeAndIXtraResizableMaxSize)>
Public Property ControlDefaultMaxSizeCalcMode As ControlMaxSizeCalcMode

Property Value

Type Default Description
ControlMaxSizeCalcMode

CombineControlMaximumSizeAndIXtraResizableMaxSize

A ControlMaxSizeCalcMode value.

Property Paths

You can access this nested property as listed below:

Object Type Path to ControlDefaultMaxSizeCalcMode
DataLayoutControl
.OptionsView.ControlDefaultMaxSizeCalcMode
LayoutControl
.OptionsView.ControlDefaultMaxSizeCalcMode

Remarks

Multiple DevExpress WinForms controls implement the IXtraResizableControl interface. Default size constraints can be additionally applied to individual control instances via the Control.MaximumSize and Control.MinimumSize properties. In this case, the default maximum size constraint is calculated according to the ControlDefaultMaxSizeCalcMode property. By default, this property is customized to suit most scenarios (e.g., you have the ability to restrict the maximum width without affecting the maximum height).

See Also