DisplayAreaWatcher.Added 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 added to the collection of display areas returned by DisplayArea.FindAll
.
// Register
event_token Added(TypedEventHandler<DisplayAreaWatcher, DisplayArea const&> const& handler) const;
// Revoke with event_token
void Added(event_token const* cookie) const;
// Revoke with event_revoker
DisplayAreaWatcher::Added_revoker Added(auto_revoke_t, TypedEventHandler<DisplayAreaWatcher, DisplayArea const&> const& handler) const;
public event TypedEventHandler<DisplayAreaWatcher,DisplayArea> Added;
function onAdded(eventArgs) { /* Your code */ }
displayAreaWatcher.addEventListener("added", onAdded);
displayAreaWatcher.removeEventListener("added", onAdded);
- or -
displayAreaWatcher.onadded = onAdded;
Public Custom Event Added As TypedEventHandler(Of DisplayAreaWatcher, DisplayArea)