다음을 통해 공유


IClosableNotifier.FrameworkClosed 이벤트

정의

개체가 Closed 이벤트 전에 닫혔을 때(예: 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 

이벤트 유형

적용 대상

추가 정보