IWorkspace.SmartPartClosing Event
Fires when smart part is closing.
Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Event SmartPartClosing As EventHandler(Of WorkspaceCancelEventArgs)
'Usage
Dim instance As IWorkspace
Dim handler As EventHandler(Of WorkspaceCancelEventArgs)
AddHandler instance.SmartPartClosing, handler
event EventHandler<WorkspaceCancelEventArgs> SmartPartClosing
event EventHandler<WorkspaceCancelEventArgs^>^ SmartPartClosing {
void add (EventHandler<WorkspaceCancelEventArgs^>^ value);
void remove (EventHandler<WorkspaceCancelEventArgs^>^ value);
}
/** @event */
void add_SmartPartClosing (EventHandler<WorkspaceCancelEventArgs> value)
/** @event */
void remove_SmartPartClosing (EventHandler<WorkspaceCancelEventArgs> 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