Partager via


DialogPage.OnDeactivate(CancelEventArgs) Method

Definition

Handles Deactive messages from the Visual Studio environment.

protected:
 virtual void OnDeactivate(System::ComponentModel::CancelEventArgs ^ e);
protected virtual void OnDeactivate (System.ComponentModel.CancelEventArgs e);
abstract member OnDeactivate : System.ComponentModel.CancelEventArgs -> unit
override this.OnDeactivate : System.ComponentModel.CancelEventArgs -> unit
Protected Overridable Sub OnDeactivate (e As CancelEventArgs)

Parameters

e
CancelEventArgs

[in] Arguments to event handler.

Remarks

This method is a handler for Windows-based events, and is not a managed delegate object.

A Deactive message is sent when a dialog page's user interface window loses focus or is minimized but is not closed.

The default implementation takes no action.

Applies to