CoreInkIndependentInputSource.PointerMoving 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当指针在与 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)