Share via


CoreInkIndependentInputSource.PointerReleasing Event

Definition

Can occur as a pointer associated with a PointerPressing event is lifted, or released, while within the hit test, or bounding, area of the InkCanvas associated with the InkPresenter object.

PointerReleasing is not guaranteed to occur in concert with PointerPressing, as PointerLost or PointerExiting might occur instead. You should handle all events that can conclude PointerPressing.

Some reasons why PointerReleasing might not occur include:

  • Differences in how specific hardware handles input
  • A programmatic pointer capture from a different pointer
  • User actions that change the relationship of the display area, such as changing resolution or monitor settings
  • Input interactions such as a stylus touching the same surface as a previous touch action
// Register
event_token PointerReleasing(TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;

// Revoke with event_token
void PointerReleasing(event_token const* cookie) const;

// Revoke with event_revoker
CoreInkIndependentInputSource::PointerReleasing_revoker PointerReleasing(auto_revoke_t, TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreInkIndependentInputSource,PointerEventArgs> PointerReleasing;
function onPointerReleasing(eventArgs) { /* Your code */ }
coreInkIndependentInputSource.addEventListener("pointerreleasing", onPointerReleasing);
coreInkIndependentInputSource.removeEventListener("pointerreleasing", onPointerReleasing);
- or -
coreInkIndependentInputSource.onpointerreleasing = onPointerReleasing;
Public Custom Event PointerReleasing As TypedEventHandler(Of CoreInkIndependentInputSource, PointerEventArgs) 

Event Type

Applies to

See also