| Visual Basic (Declaration) | |
|---|---|
Public Shadows Event Invoked As EventHandler(Of DialogUICommandInvokedArgs) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DialogUICommand(Of T) Dim handler As EventHandler(Of DialogUICommandInvokedArgs) AddHandler instance.Invoked, handler | |
| C# | |
|---|---|
public new event EventHandler<DialogUICommandInvokedArgs> Invoked | |
| C++/CLI | |
|---|---|
public: new event EventHandler<DialogUICommandInvokedArgs^>^ Invoked | |
The event handler receives an argument of type DialogUICommandInvokedArgs containing data related to this event. The following DialogUICommandInvokedArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancelled (Inherited from Cocktail.UICommandInvokedArgs) | True if the command was cancelled. |
| Command (Inherited from Cocktail.UICommandInvokedArgs) | Gets the invoked command. |
| DialogHost | Returns the dialog host associated with the command. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family