IComposableWorkspace.OnClose Method

When overridden in a derived class, closes and removes the smartPart from the workspace.

Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Sub OnClose ( _
    smartPart As TSmartPart _
)
'Usage
Dim instance As IComposableWorkspace(Of TSmartPart, TSmartPartInfo)
Dim smartPart As TSmartPart

instance.OnClose(smartPart)
void OnClose (
    TSmartPart smartPart
)
void OnClose (
    TSmartPart smartPart
)
void OnClose (
    TSmartPart smartPart
)
function OnClose (
    smartPart : TSmartPart
)

Parameters

  • smartPart
    The smart part to close.

See Also

Reference

IComposableWorkspace Interface
IComposableWorkspace Members
Microsoft.Practices.CompositeUI.SmartParts Namespace