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 

适用于