ICorePointerInputSource.PointerPressed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a press action (such as a screen press or mouse click) is received for the pointer.
// Register
event_token PointerPressed(TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;
// Revoke with event_token
void PointerPressed(event_token const* cookie) const;
// Revoke with event_revoker
ICorePointerInputSource::PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;
event TypedEventHandler<object,PointerEventArgs> PointerPressed;
function onPointerPressed(eventArgs) { /* Your code */ }
iCorePointerInputSource.addEventListener("pointerpressed", onPointerPressed);
iCorePointerInputSource.removeEventListener("pointerpressed", onPointerPressed);
- or -
iCorePointerInputSource.onpointerpressed = onPointerPressed;
Event PointerPressed As TypedEventHandler(Of Object, PointerEventArgs)
Event Type
TypedEventHandler<IInspectable,PointerEventArgs>