共用方式為


IClosableNotifier.FrameworkClosed 事件

定義

發生于物件已關閉 (處置) 關閉事件之前,通知架構 (例如 XAML) 物件已關閉。

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 

事件類型

適用於

另請參閱