IDialogContent.CloseDialog 事件

适用于版本2

在对话框应关闭时发生。

命名空间:  Microsoft.WebMatrix.Extensibility
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Event CloseDialog As EventHandler(Of EventArgs)
用法
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.

请参阅

参考

IDialogContent 接口

Microsoft.WebMatrix.Extensibility 命名空间