Redigera

Dela via


TouchFrameEventHandler Delegate

Definition

Represents the method that will handle the FrameReported event of a Touch.

public delegate void TouchFrameEventHandler(System::Object ^ sender, TouchFrameEventArgs ^ e);
public delegate void TouchFrameEventHandler(object sender, TouchFrameEventArgs e);
type TouchFrameEventHandler = delegate of obj * TouchFrameEventArgs -> unit
Public Delegate Sub TouchFrameEventHandler(sender As Object, e As TouchFrameEventArgs)

Parameters

sender
Object

The object where the event handler is attached.

e
TouchFrameEventArgs

The event data.

Remarks

When you create a TouchFrameEventHandler delegate, you identify the method that will handle the 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 event-handler delegates, see Handling and Raising Events.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to