IDialogContent.CloseDialog Event

Applies to v2.

Occurs when the dialog should close.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Event CloseDialog As EventHandler(Of EventArgs)
'Usage
Dim instance As IDialogContent 
Dim handler As EventHandler(Of EventArgs)

AddHandler instance.CloseDialog, handler
event EventHandler<EventArgs> CloseDialog
event EventHandler<EventArgs^>^ CloseDialog {
    void add (EventHandler<EventArgs^>^ value);
    void remove (EventHandler<EventArgs^>^ value);
}
abstract CloseDialog : IEvent<EventHandler<EventArgs>,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

IDialogContent Interface

Microsoft.WebMatrix.Extensibility Namespace