Control.DpiChangedBeforeParent 事件

定義

發生於某個控制項的父控制項或表單發生 DPI 變更事件之前,以程式設計方式變更其 DPI 設定時。Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.

public:
 event EventHandler ^ DpiChangedBeforeParent;
public event EventHandler DpiChangedBeforeParent;
member this.DpiChangedBeforeParent : EventHandler 
Public Custom Event DpiChangedBeforeParent As EventHandler 

適用於