Window.OnDeactivated(EventArgs) 方法

定義

引發 Deactivated 事件。

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

參數

e
EventArgs

包含事件資料的 EventArgs

備註

OnDeactivated 會引發 Deactivated 事件。

衍生自 Window 的類型可能會覆寫 OnDeactivated 。 如果需要 Deactivated 引發,覆寫的方法必須在基類上呼叫 OnDeactivated

適用於

另請參閱