Share via


Pivot.PivotItemUnloaded 事件

定义

用于通知透视项已从视觉对象透视中完全卸载的事件。

// Register
event_token PivotItemUnloaded(TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Pivot::PivotItemUnloaded_revoker PivotItemUnloaded(auto_revoke_t, TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;
public event TypedEventHandler<Pivot,PivotItemEventArgs> PivotItemUnloaded;
function onPivotItemUnloaded(eventArgs) { /* Your code */ }
pivot.addEventListener("pivotitemunloaded", onPivotItemUnloaded);
pivot.removeEventListener("pivotitemunloaded", onPivotItemUnloaded);
- or -
pivot.onpivotitemunloaded = onPivotItemUnloaded;
Public Custom Event PivotItemUnloaded As TypedEventHandler(Of Pivot, PivotItemEventArgs) 
<Pivot PivotItemUnloaded="eventhandler" />

事件类型

适用于