Share via


IComposableWorkspace.OnActivate Method

When overridden in a derived class, activates the smartPart in the workspace.

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

Syntax

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

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

Parameters

  • smartPart
    The smart part to activate.

See Also

Reference

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