MicaController.Closed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the object has been closed (disposed), after the FrameworkClosed event, to notify the app that the object is closed.
public:
virtual event ClosableNotifierHandler ^ Closed;
// Register
event_token Closed(ClosableNotifierHandler const& handler) const;
// Revoke with event_token
void Closed(event_token const* cookie) const;
// Revoke with event_revoker
MicaController::Closed_revoker Closed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
public event ClosableNotifierHandler Closed;
function onClosed(eventArgs) { /* Your code */ }
micaController.addEventListener("closed", onClosed);
micaController.removeEventListener("closed", onClosed);
- or -
micaController.onclosed = onClosed;
Public Custom Event Closed As ClosableNotifierHandler Implements Closed