Skip to main content
All docs
V19.2

WindowsFormsSettings.AllowAutoScale Property

Gets or sets whether a control is scaled according to its scale factor (which is dependent on the monitor DPI setting). This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public static DefaultBoolean AllowAutoScale { get; set; }

Property Value

Type Description
DefaultBoolean

Default or True if control auto-scaling is enabled; False if this mode is disabled.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowAutoScale property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also