IWorkspace.SmartPartActivated Event

Fires when the smartpart is activated.

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

Syntax

'Declaration
Event SmartPartActivated As EventHandler(Of WorkspaceEventArgs)
'Usage
Dim instance As IWorkspace
Dim handler As EventHandler(Of WorkspaceEventArgs)

AddHandler instance.SmartPartActivated, handler
event EventHandler<WorkspaceEventArgs> SmartPartActivated
event EventHandler<WorkspaceEventArgs^>^ SmartPartActivated {
    void add (EventHandler<WorkspaceEventArgs^>^ value);
    void remove (EventHandler<WorkspaceEventArgs^>^ value);
}
/** @event */
void add_SmartPartActivated (EventHandler<WorkspaceEventArgs> value)

/** @event */
void remove_SmartPartActivated (EventHandler<WorkspaceEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

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