Softelvdm.Controls Class Library for Windows Controls 1.0

ActionEventHandler Delegate

Softel vdm, Inc.

Represents the method that will handle the Action event of a part.

Syntax      GenericPartClass Class (Softelvdm.Controls)

VB   

Public Delegate Sub ActionEventHandler( _
     ByVal sender As Object, _
     ByVal e As ActionEventArgs )

C#   

public delegate void ActionEventHandler(
     object sender,
     ActionEventArgs e );

C++   

public: delegate void ActionEventHandler(
     Object^ sender,
     ActionEventArgs^ e );

e

An EventArgs instance that contains the event data.

sender

The source of the event.

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

Comments

The ActionEventHandler delegate represents the method that will handle the Action event of a part.

A ActionEventHandler delegate is created by an application to identify the method that will handle the Action event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about handling events with delegates, see Handling and Raising Events (.NET Documentation).

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com