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.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(ControlMaxSizeCalcMode.CombineControlMaximumSizeAndIXtraResizableMaxSize)]
public ControlMaxSizeCalcMode ControlDefaultMaxSizeCalcMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Control |
Combine |
A Control |
Available values:
Name | Description |
---|---|
Use |
The default maximum width and height are specified by the Control. |
Combine |
The default maximum width is calculated for a control as the maximum of two values: Control. The default maximum height is calculated for a control as the maximum of two values: Control. |
Use |
The default maximum width is specified by the Control. The default maximum height is specified by the Control. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Control |
---|---|
Layout |
|
#Remarks
Multiple DevExpress WinForms controls implement the IXtraResizableControl interface. Default size constraints can be additionally applied to individual control instances from the Control.MaximumSize and Control.MinimumSize properties. In this case, the default maximum size constraint is calculated according to the ControlDefaultMaxSizeCalcMode property.