Skip to main content

CompatibilitySettings.EnableDPICorrection Property

Gets or sets whether to enable DPI correction to improve layout rendering.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v22.2.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.Win.Dashboard.Design, DevExpress.Win.Design


public static bool EnableDPICorrection { get; set; }

Property Value

Type Description

true, to enable DPI correction; otherwise false.


To enable the DPI correction for WPF controls and obtain a properly rendered layout, apply a DevExpress theme that supports DPI correction and set the standard UseLayoutRounding property to true. In this case, DXBorder defined in the applied theme uses improved rendering logic.

See Also