DPI_HOSTING_BEHAVIOR class Null safety Enum
Identifies the DPI hosting behavior for a window. This behavior allows windows created in the thread to host child windows with a different DPI_AWARENESS_CONTEXT.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DPI_HOSTING_BEHAVIOR_DEFAULT → const int
-
Default DPI hosting behavior. The associated window behaves as normal, and
cannot create or re-parent child windows with a different
DPI_AWARENESS_CONTEXT.
0
- DPI_HOSTING_BEHAVIOR_INVALID → const int
-
Invalid DPI hosting behavior. This usually occurs if the previous
SetThreadDpiHostingBehavior call used an invalid parameter.
-1
- DPI_HOSTING_BEHAVIOR_MIXED → const int
-
Mixed DPI hosting behavior. This enables the creation and re-parenting of
child windows with different DPI_AWARENESS_CONTEXT. These child windows
will be independently scaled by the OS.
1