CoreInkIndependentInputSource.PointerMoving 事件

定义

当指针在与 InkPresenter 对象关联的 InkCanvas 的命中测试或边界区域内移动时发生。

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

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

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

事件类型

适用于

另请参阅