Compartir a través de


IClosableNotifier.FrameworkClosed Evento

Definición

Se produce cuando el objeto se ha cerrado (eliminado), antes del evento Closed , para notificar al marco (como XAML) que el objeto está cerrado.

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

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

// Revoke with event_revoker
IClosableNotifier::FrameworkClosed_revoker FrameworkClosed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
event ClosableNotifierHandler FrameworkClosed;
function onFrameworkClosed(eventArgs) { /* Your code */ }
iClosableNotifier.addEventListener("frameworkclosed", onFrameworkClosed);
iClosableNotifier.removeEventListener("frameworkclosed", onFrameworkClosed);
- or -
iClosableNotifier.onframeworkclosed = onFrameworkClosed;
Event FrameworkClosed As ClosableNotifierHandler 

Tipo de evento

Se aplica a

Consulte también