共用方式為


DesktopAcrylicController.FrameworkClosed 事件

定義

發生于物件已關閉 (處置) 關閉事件之前,通知架構 (例如 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

事件類型

實作

適用於

另請參閱