Cocktail Help Reference
Invoked Event
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IUICommand Interface : Invoked Event



Glossary Item Box

Event triggerd when the UI command is being invoked.

Syntax

Visual Basic (Declaration) 
Event Invoked As EventHandler(Of UICommandInvokedArgs)
Visual Basic (Usage)Copy Code
Dim instance As IUICommand
Dim handler As EventHandler(Of UICommandInvokedArgs)
 
AddHandler instance.Invoked, handler

Event Data

The event handler receives an argument of type UICommandInvokedArgs containing data related to this event. The following UICommandInvokedArgs properties provide information specific to this event.

PropertyDescription
Cancelled True if the command was cancelled.
Command Gets the invoked command.

Requirements

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

See Also

© 2013 All Rights Reserved.