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) 

事件类型

适用于

另请参阅