OptionsView.UseParentAutoScaleFactor Property
Gets or sets whether indents between elements in the LayoutControl are automatically adjusted, based on the owning container’s auto-scale settings.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if indents between elements in the LayoutControl are automatically adjusted based on the owning container’s auto-scale settings; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to UseParentAutoScaleFactor |
---|---|
LayoutControl |
|
Remarks
Auto-scale settings of the LayoutControl’s owning container are specified by the System.Windows.Forms.ContainerControl.AutoScaleMode property. If the UseParentAutoScaleFactor property is enabled, the amount of space between the LayoutControl’s elements is automatically adjusted, based on the auto-scale settings (for instance, according to the Windows DPI settings).
Font settings of layout items are not affected by the UseParentAutoScaleFactor property. To customize the font settings of items within the LayoutControl you can use the appearance mechanism (see Appearances). Alternatively, you can consider changing the default font for all DevExpress controls in your application, using the AppearanceObject.DefaultFont property.