Поделиться через


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) 

Тип события

Применяется к

См. также раздел