次の方法で共有


ICorePointerInputSource.PointerPressed イベント

定義

ポインターに対して押す操作 (画面の押しやマウス クリックなど) を受け取ったときに発生します。

// Register
event_token PointerPressed(TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ICorePointerInputSource::PointerPressed_revoker PointerPressed(auto_revoke_t, TypedEventHandler<IInspectable, PointerEventArgs const&> const& handler) const;
event TypedEventHandler<object,PointerEventArgs> PointerPressed;
function onPointerPressed(eventArgs) { /* Your code */ }
iCorePointerInputSource.addEventListener("pointerpressed", onPointerPressed);
iCorePointerInputSource.removeEventListener("pointerpressed", onPointerPressed);
- or -
iCorePointerInputSource.onpointerpressed = onPointerPressed;
Event PointerPressed As TypedEventHandler(Of Object, PointerEventArgs) 

イベントの種類

適用対象