ICoreWindow.PointerPressed ICoreWindow.PointerPressed ICoreWindow.PointerPressed ICoreWindow.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.

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).

public : event TypedEventHandler<CoreWindow, PointerEventArgs> PointerPressed
// Register
event_token PointerPressed(TypedEventHandler<CoreWindow, PointerEventArgs> const& handler) const;

// Revoke with event_token
void PointerPressed(event_token const& cookie) const;

// Revoke with event_revoker
PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<CoreWindow, PointerEventArgs> const& handler) const;
public event TypedEventHandler<CoreWindow, PointerEventArgs> PointerPressed
Public Event PointerPressed As TypedEventHandler (Of CoreWindow, PointerEventArgs)

See Also