共用方式為


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) 

事件類型

適用於

另請參閱