StylusSystemGestureEventArgs.InvokeEventHandler Method (Delegate, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Invokes a type-specific handler on the target whenever the StylusSystemGesture event is raised.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

protected override void InvokeEventHandler(
	Delegate genericHandler,
	object genericTarget
)

Parameters

genericHandler
Type: System.Delegate

The generic handler to call in a type-specific way.

genericTarget
Type: System.Object

The target to call the handler on.

This implementation casts the generic handler as a StylusSystemGestureEventHandler and then invokes it. For details on this implementation pattern and the reasons for it, see InvokeEventHandler and Routed Events Overview.

.NET Framework
Available since 3.0
Return to top
Show: