Table of Contents

Class DisableDpiAwarenessAttribute

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DisableDpiAwarenessAttribute tells to disable DpiAwareness in this application for controls.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class DisableDpiAwarenessAttribute : Attribute
Inheritance
DisableDpiAwarenessAttribute

Remarks

By default, Alternet UI application is Dpi-Aware when the UI layout is calculated. But if in any case, an application wants to host Alternet UI control and doesn't want to support Dpi aware, the way to achieve it is to add this attribute value in its application assembly.

Constructors

DisableDpiAwarenessAttribute()

Initializes a new instance of the DisableDpiAwarenessAttribute class.