Allows WPF applications to disable dots per inch (dpi) awareness for all user interface elements.
Namespace:System.Windows.Media Assembly:WindowsBase (in WindowsBase.dll) XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
By default, WPF applications are dpi aware, which affects how user interface layout is calculated. However, an application can disable dpi awareness by adding the DisableDpiAwarenessAttribute to the application assembly.
It is not recommended that you set this attribute for your application, unless you need all user interface elements of your application to be non-dpi aware.