Share via


CoreInkIndependentInputSource.PointerHovering Event

Definition

Occurs as a pointer is detected over, but not down or in contact with, the hit test, or bounding, area of the InkCanvas associated with the InkPresenter object.

// Register
event_token PointerHovering(TypedEventHandler<CoreInkIndependentInputSource, PointerEventArgs const&> const& handler) const;

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

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

Event Type

Applies to

See also