共用方式為


DialogPage.OnDeactivate Method

Handles Deactive messages from the Visual Studio environment.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Protected Overridable Sub OnDeactivate ( _
    e As CancelEventArgs _
)
protected virtual void OnDeactivate(
    CancelEventArgs e
)

Parameters

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.

.NET Framework Security

See Also

Reference

DialogPage Class

Microsoft.VisualStudio.Shell Namespace