次の方法で共有


DisplayAreaWatcher.Stopped イベント

定義

が停止したときに DisplayAreaWatcher 発生します。

// Register
event_token Stopped(TypedEventHandler<DisplayAreaWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DisplayAreaWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<DisplayAreaWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayAreaWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
displayAreaWatcher.addEventListener("stopped", onStopped);
displayAreaWatcher.removeEventListener("stopped", onStopped);
- or -
displayAreaWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of DisplayAreaWatcher, Object) 

イベントの種類

適用対象

こちらもご覧ください