Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 2.14 KB

pointereventhandler.md

File metadata and controls

49 lines (31 loc) · 2.14 KB
-api-id -api-type
T:Windows.UI.Xaml.Input.PointerEventHandler
winrt delegate

Windows.UI.Xaml.Input.PointerEventHandler

-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