View.OnDeactivate(EventArgs) 方法

定義

引發 Deactivate 控制項的 View 事件。

protected public:
 virtual void OnDeactivate(EventArgs ^ e);
protected internal virtual void OnDeactivate (EventArgs e);
abstract member OnDeactivate : EventArgs -> unit
override this.OnDeactivate : EventArgs -> unit
Protected Friend Overridable Sub OnDeactivate (e As EventArgs)

參數

e
EventArgs

包含事件資料的 EventArgs

備註

當目前的作用 View 中控制項變成非使用中時,就會 Deactivate 引發 事件。

適用於

另請參閱