CompatibilitySettings.EnableDPICorrection Property
Gets or sets whether to enable DPI correction to improve layout rendering.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v24.1.dll
NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to enable DPI correction; otherwise false. |
Remarks
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