InkUnprocessedInput.PointerEntered 事件

定义

当指针进入 InkCanvas 控件的命中测试或边界区域时发生。

// Register
event_token PointerEntered(TypedEventHandler<InkUnprocessedInput, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InkUnprocessedInput::PointerEntered_revoker PointerEntered(auto_revoke_t, TypedEventHandler<InkUnprocessedInput, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InkUnprocessedInput,PointerEventArgs> PointerEntered;
function onPointerEntered(eventArgs) { /* Your code */ }
inkUnprocessedInput.addEventListener("pointerentered", onPointerEntered);
inkUnprocessedInput.removeEventListener("pointerentered", onPointerEntered);
- or -
inkUnprocessedInput.onpointerentered = onPointerEntered;
Public Custom Event PointerEntered As TypedEventHandler(Of InkUnprocessedInput, PointerEventArgs) 

事件类型

适用于

另请参阅