Share via


ModelingWindowPane.OnClose Method

Removes window pane objects from the shortcut menu selection when the window pane is closed.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnClose
protected override void OnClose()
protected:
virtual void OnClose() override
abstract OnClose : unit -> unit 
override OnClose : unit -> unit 
protected override function OnClose()

Remarks

This method removes elements from the selection context to make sure that the property browser does not call them after the window pane is closed.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace