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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Protected Overrides Sub OnClose
'Usage
Me.OnClose()
protected override void OnClose()
protected:
virtual void OnClose() override
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

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace