CoreWindow.PointerPressed Event

Occurs when a mouse button is clicked, or the digitizer surface has been touched by a finger or pen, within the bounding rectangle of the app.

Syntax

public:
eventTypedEventHandler<CoreWindow^ ,PointerEventArgs^ >^ PointerPressed {EventRegistrationToken add (TypedEventHandler<CoreWindow^ ,PointerEventArgs^ >^value);
         void remove (EventRegistrationToken token);
}  

Remarks

An interaction session starts when a single contact is detected and ends when that contact, and all subsequent contacts in the same session, are no longer detected.

This event is fired for the first contact detected in the interaction session. Details for all other concurrent contact pointers are exposed through a PointerPointProperties object (obtained by getting the Properties property from a PointerPoint object).

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

CoreWindow Class

CoreWindow Members

Windows.UI.Core Namespace