共用方式為


HwndSource.DpiChanged 事件

定義

發生於此 Hwnd 的螢幕 DPI 已變更時,或是將 Hwnd 移至不同 DPI 的螢幕時。

public:
 event System::Windows::HwndDpiChangedEventHandler ^ DpiChanged;
public event System.Windows.HwndDpiChangedEventHandler DpiChanged;
member this.DpiChanged : System.Windows.HwndDpiChangedEventHandler 
Public Event DpiChanged As HwndDpiChangedEventHandler 
Public Custom Event DpiChanged As HwndDpiChangedEventHandler 

事件類型

HwndDpiChangedEventHandler

適用於