[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Collapse]eXpressApp Framework
 [Expand]Getting Started
 [Expand]Design-Time Features
 [Collapse]Task-Based Help
  [Expand]Business Model Design
  [Expand]Application Model
  [Expand]List Editors
  [Expand]Property Editors
  [Expand]Scheduler and Notifications
  [Expand]Maps Module
  [Collapse]Miscellaneous UI Customizations
    How to: Add a Button to a Detail View Using a Custom View Item
    How to: Add an XAF Mobile Custom Module
    How to: Adjust the Size and Style of Pop-up Dialogs (ASP.NET)
    How to: Adjust the Windows' Size and Style
    How to: Change an Application Logo and Info
    How to: Create a Custom Control Detail Item
    How to: Customize a Window Caption
    How to: Customize ASP.NET Layout Elements Using Custom CSS Classes
    How to: Customize Export Options of the Printing System
    How to: Customize the Conditional Appearance Module Behavior
    How to: Customize Window Status Messages (WinForms)
    How to: Enable High DPI Support in a WinForms Application
    How to: Implement a Custom Messaging Class
    How to: Implement Client-Side Logic in Mobile Applications
    How to: Include an Action to a Detail View Layout
    How to: Raise XAF Callbacks from Client-Side Events and Process these Callbacks on Server
    How to: Set Images and Captions for Enumeration Values
    How to: Show a Custom Window with an Embedded XAF View
    How to: Show a Custom Windows Form
    How to: Use a Custom Plugin in a Mobile Application
    How to: Use a DevExtreme Chart in a Mobile Application
    How to: Use Custom Themes in ASP.NET Applications
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Enable High DPI Support in a WinForms Application

This topic describes adjustments you should perform to prepare your WinForms XAF application to be used on 4K display devices.

Expanded Enable DPI-Aware Mode

To enable DPI-Aware Mode, use one of the approaches described in the High DPI Support topic.

Expanded Enable the New Report Wizard

If you use the Reports V2 Module, edit the WinApplication.cs (WinApplication.vb) file. In the WinApplication descendant constructor, set the static WinReportServiceController.UseNewWizard property to true

Expanded Current Limitations and Recommendations

  • Design your applications under default 96 DPI (100%). Downscaling a form developed under higher DPI values may lead to possible issues.
  • Currently, we do not provide built-in icons for high DPI. Existing images may look blurry or too small on your screen. However, you can provide custom icons of an appropriate size.
  • The HTML Property Editor Module does not support high DPI.
  • Per-Monitor DPI is not supported. The application window will be upscaled/downscaled by the system when you drag it between displays with different DPI settings.

Expanded See Also

Is this topic helpful?​​​​​​​