共用方式為


ApplicationView.Consolidated 事件

定義

發生于從最近使用的應用程式清單中移除視窗時,或當使用者對其執行關閉手勢時。

// 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) 

事件類型

適用於

另請參閱