SeparatorControl.AutoSizeMode Property
Gets or sets whether the control client area size is automatically calculated based on the separating line thickness and paddings.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if the control client area size is automatically calculated based on the separating line thickness and paddings; otherwise, false. |
Remarks
By default, the control width and height can be explicitly specified using the Size inherited property. Set the AutoSizeMode property to true to automatically calculate the control width or height, depending on whether the separating line is vertically or horizontally oriented, based on the separating line width (see SeparatorControl.LineThickness) and paddings (see SeparatorControl.Padding). In this case, the other dimension can be still explicitly specified.