次の方法で共有


CoreApplicationView.Activated イベント

定義

ビューがアクティブになったときに発生します。

// Register
event_token Activated(TypedEventHandler<CoreApplicationView, IActivatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreApplicationView::Activated_revoker Activated(auto_revoke_t, TypedEventHandler<CoreApplicationView, IActivatedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreApplicationView,IActivatedEventArgs> Activated;
function onActivated(eventArgs) { /* Your code */ }
coreApplicationView.addEventListener("activated", onActivated);
coreApplicationView.removeEventListener("activated", onActivated);
- or -
coreApplicationView.onactivated = onActivated;
Public Custom Event Activated As TypedEventHandler(Of CoreApplicationView, IActivatedEventArgs) 

イベントの種類

適用対象

こちらもご覧ください