DisplayAreaWatcher.Removed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a DisplayArea
is removed from the collection returned by DisplayArea.FindAll
.
// Register
event_token Removed(TypedEventHandler<DisplayAreaWatcher, DisplayArea const&> const& handler) const;
// Revoke with event_token
void Removed(event_token const* cookie) const;
// Revoke with event_revoker
DisplayAreaWatcher::Removed_revoker Removed(auto_revoke_t, TypedEventHandler<DisplayAreaWatcher, DisplayArea const&> const& handler) const;
public event TypedEventHandler<DisplayAreaWatcher,DisplayArea> Removed;
function onRemoved(eventArgs) { /* Your code */ }
displayAreaWatcher.addEventListener("removed", onRemoved);
displayAreaWatcher.removeEventListener("removed", onRemoved);
- or -
displayAreaWatcher.onremoved = onRemoved;
Public Custom Event Removed As TypedEventHandler(Of DisplayAreaWatcher, DisplayArea)