Udostępnij za pośrednictwem


ApplicationView.Consolidated Event

Definition

Occurs when the window is removed from the list of recently used apps, or if the user executes a close gesture on it.

// Register
event_token Consolidated(TypedEventHandler<ApplicationView, ApplicationViewConsolidatedEventArgs const&> const& handler) const;

// Revoke with event_token
void Consolidated(event_token const* cookie) const;

// Revoke with event_revoker
ApplicationView::Consolidated_revoker Consolidated(auto_revoke_t, TypedEventHandler<ApplicationView, ApplicationViewConsolidatedEventArgs const&> const& handler) const;
public event TypedEventHandler<ApplicationView,ApplicationViewConsolidatedEventArgs> Consolidated;
function onConsolidated(eventArgs) { /* Your code */ }
applicationView.addEventListener("consolidated", onConsolidated);
applicationView.removeEventListener("consolidated", onConsolidated);
- or -
applicationView.onconsolidated = onConsolidated;
Public Custom Event Consolidated As TypedEventHandler(Of ApplicationView, ApplicationViewConsolidatedEventArgs) 

Event Type

Applies to

See also