Version

CreateHandlerWithDescription Method

Creates a handler for an event and returns the event args as a Description object.
Syntax
'Declaration
 
Public Sub CreateHandlerWithDescription( _
   ByVal cont As Panel, _
   ByVal refName As String, _
   ByVal descriptionType As String, _
   ByVal eventName As String, _
   ByVal callback As Action(Of Description) _
) 
public void CreateHandlerWithDescription( 
   Panel cont,
   string refName,
   string descriptionType,
   string eventName,
   Action<Description> callback
)

Parameters

cont
refName
The name to refer to the handler by.
descriptionType
The name of the description type that contains the event.
eventName
The name of the event.
callback
The callback to fire when the event is triggered.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also