共用方式為


InkUnprocessedInput.PointerLost 事件

定義

InkCanvas 控制項的指標不再偵測到或超過點擊測試或周框時發生。

一般而言,如果接觸點在 InkCanvas 控制項外移動,或由另一個專案擷取連絡人,指標就會遺失。

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

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

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

事件類型

適用於

另請參閱