Wimark.Controls Class Library  

CommandItemEventHandler Delegate

Represents the method that will handle the Click, Popup and CheckEnabled events of a CommandItem.

[Visual Basic]
<Serializable>
Public Delegate Sub CommandItemEventHandler( _
   ByVal sender As Object, _
   ByVal args As CommandItemEventArgs _
)
[C#]
[Serializable]
public delegate void CommandItemEventHandler(
   object sender,
   CommandItemEventArgs args
);
[C++]
[Serializable]
public __gc __delegate void CommandItemEventHandler(
   Object* sender,
   CommandItemEventArgs* args
);

Parameters [Visual Basic, C#, C++]

The declaration of your event handler must have the same parameters as the CommandItemEventHandler delegate declaration.

sender
The source of the event.
args
A CommandItemEventArgs that contains the event data.

Requirements

Namespace: Wimark.Controls

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

Assembly: Wimark.Controls (in Wimark.Controls.dll)

See Also

Wimark.Controls Namespace | CommandItemEventArgs | CommandItem