DesktopAcrylicController.FrameworkClosed 事件

定义

当对象已关闭 (释放) ,在 Closed 事件之前发生,以通知框架 ((如 XAML) 对象已关闭)。

public:
 virtual 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
DesktopAcrylicController::FrameworkClosed_revoker FrameworkClosed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
public event ClosableNotifierHandler FrameworkClosed;
function onFrameworkClosed(eventArgs) { /* Your code */ }
desktopAcrylicController.addEventListener("frameworkclosed", onFrameworkClosed);
desktopAcrylicController.removeEventListener("frameworkclosed", onFrameworkClosed);
- or -
desktopAcrylicController.onframeworkclosed = onFrameworkClosed;
Public Custom Event FrameworkClosed As ClosableNotifierHandler Implements FrameworkClosed

事件类型

实现

适用于

另请参阅