共用方式為


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

事件類型

實作

適用於

另請參閱