Share via


IClosableNotifier.Closed Event

Definition

Occurs when the object has been closed (disposed), after the FrameworkClosed event, to notify the app that the object is closed.

public:
 event ClosableNotifierHandler ^ Closed;
// Register
event_token Closed(ClosableNotifierHandler const& handler) const;

// Revoke with event_token
void Closed(event_token const* cookie) const;

// Revoke with event_revoker
IClosableNotifier::Closed_revoker Closed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
event ClosableNotifierHandler Closed;
function onClosed(eventArgs) { /* Your code */ }
iClosableNotifier.addEventListener("closed", onClosed);
iClosableNotifier.removeEventListener("closed", onClosed);
- or -
iClosableNotifier.onclosed = onClosed;
Event Closed As ClosableNotifierHandler 

Event Type

Applies to

See also