Cocktail Help Reference
Invoked Event
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > UICommand Class : Invoked Event



Glossary Item Box

Event triggerd when the UI command is being invoked.

Syntax

Visual Basic (Declaration) 
Public Event Invoked As EventHandler(Of UICommandInvokedArgs)
Visual Basic (Usage)Copy Code
Dim instance As UICommand
Dim handler As EventHandler(Of UICommandInvokedArgs)
 
AddHandler instance.Invoked, handler
C# 
public event EventHandler<UICommandInvokedArgs> Invoked
C++/CLI 
public:
event EventHandler<UICommandInvokedArgs^>^ Invoked

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.