Wimark.Controls Class Library  

CommandItem.Click Event

Occurs when the command item is clicked or selected using a shortcut key or access key defined for the command item.

[Visual Basic]
Public Event Click As CommandItemEventHandler 
[C#]
public event CommandItemEventHandler Click;
[C++]
public: __event CommandItemEventHandler* Click;

Event Data

The event handler receives an argument of type CommandItemEventArgs containing data related to this event. The following CommandItemEventArgs property provides information specific to this event.

Property Description
Command Gets the component that represents the command.
Container Gets the container that hosts the command.
ContainerType Gets the type of the container that hosts the command.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

CommandItem Class | CommandItem Members | Wimark.Controls Namespace