共用方式為


ContentIsland.Closed Event

Definition

Occurs when the ContentIsland 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
ContentIsland::Closed_revoker Closed(auto_revoke_t, ClosableNotifierHandler const& handler) const;
public event ClosableNotifierHandler Closed;
function onClosed(eventArgs) { /* Your code */ }
contentIsland.addEventListener("closed", onClosed);
contentIsland.removeEventListener("closed", onClosed);
- or -
contentIsland.onclosed = onClosed;
Public Custom Event Closed As ClosableNotifierHandler Implements Closed

Event Type

Implements

Remarks

This event is intended for application developers. It is raised after a FrameworkClosed event.

Applies to

See also