共用方式為


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) 

事件類型

適用於

另請參閱