WindowMarkupExtensions.OnDpiChanged<T> method
Subscribes handler to DpiChanged. Occurs when the DPI changes.
public static T OnDpiChanged<T>(this T target, Action<uint, uint> handler) where T : Window| parameter | description |
|---|---|
| T | Receiver type. |
| target | Target Window. |
| handler | Handler subscribed to DpiChanged. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: Window.DpiChanged
See Also
Section titled “See Also”- class Window
- class WindowMarkupExtensions
- namespace Aprillz.MewUI