Windows.UI.Xaml.Input.PointerEventHandler

June 22, 2022 ยท View on GitHub

-description

Represents the method that will handle pointer message events such as PointerPressed.

-parameters

-param sender

The object where the event handler is attached.

-param e

Event data for the event.

-remarks

This delegate is used for handling each of the following events:

-examples

The following code example shows scenario 2 from the Input sample. This code shows some usage patterns for direct manipulation using the PointerPressed, PointerReleased, PointerEntered, PointerExited, and PointerMoved events.

[!code-xamlScenario2Xaml]

[!code-csharpScenario2Code]

[!code-vbScenario2Code]

-see-also