Workspace.SmartPartClosing Event

See SmartPartClosing.

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

Syntax

'Declaration
Public Event SmartPartClosing As EventHandler(Of WorkspaceCancelEventArgs)
'Usage
Dim instance As Workspace(Of TSmartPart, TSmartPartInfo)
Dim handler As EventHandler(Of WorkspaceCancelEventArgs)

AddHandler instance.SmartPartClosing, handler
public event EventHandler<WorkspaceCancelEventArgs> SmartPartClosing
public:
virtual event EventHandler<WorkspaceCancelEventArgs^>^ SmartPartClosing {
    void add (EventHandler<WorkspaceCancelEventArgs^>^ value) sealed;
    void remove (EventHandler<WorkspaceCancelEventArgs^>^ value) sealed;
}
/** @event */
public final void add_SmartPartClosing (EventHandler<WorkspaceCancelEventArgs> value)

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

See Also

Reference

Workspace Class
Workspace Members
Microsoft.Practices.CompositeUI.SmartParts Namespace