共用方式為


InputPointerSource.PointerReleased 事件

定義

發生于先前起始按下動作的指標裝置放開 (放滑鼠按鍵時,或是從數位板介面) 隨即增益觸控或手寫筆接觸,而在此 InputPointerSource的範圍內。

// Register
event_token PointerReleased(TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputPointerSource::PointerReleased_revoker PointerReleased(auto_revoke_t, TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InputPointerSource,PointerEventArgs> PointerReleased;
function onPointerReleased(eventArgs) { /* Your code */ }
inputPointerSource.addEventListener("pointerreleased", onPointerReleased);
inputPointerSource.removeEventListener("pointerreleased", onPointerReleased);
- or -
inputPointerSource.onpointerreleased = onPointerReleased;
Public Custom Event PointerReleased As TypedEventHandler(Of InputPointerSource, PointerEventArgs) 

事件類型

適用於