Свойство | Type | Description | |
---|---|---|---|
DpiChangeEvent | System.Windows.RoutedEvent |
Méthode | Description | |
---|---|---|
AddDpiChangeHandler ( |
Adds a handler to the DpiChange event.
|
|
GetWindowDpi ( |
Gets the dpi value for the object contained in a window using Chrome.
|
|
GetWindowDpiScale ( |
Gets the dpi scale value for the object contained in a window using Chrome.
|
|
RemoveDpiChangeHandler ( |
Removes a handler to the DpiChange event.
|
|
ScaleElement ( |
Scales the element based on some factor.
|
Méthode | Description | |
---|---|---|
GetIsDpiTransform ( |
||
SetIsDpiTransform ( |
||
SetWindowDpi ( |
||
SetWindowDpiScale ( |
||
UnwrapDpiTransform ( |
||
WrapDpiTransform ( |
public static AddDpiChangeHandler ( |
||
element | The element. | |
handler | EventHandler |
The handler. |
Résultat | void |
public static GetWindowDpi ( |
||
obj | The object. | |
Résultat | int |
public static GetWindowDpiScale ( |
||
obj | The object. | |
Résultat | double |
public static RemoveDpiChangeHandler ( |
||
element | The element. | |
handler | EventHandler |
The handler. |
Résultat | void |
public static ScaleElement ( |
||
child | The child. | |
scaleFactor | double | The scale factor. |
compensateRender | bool | if set to |
Résultat | void |