Udostępnij za pośrednictwem


Pivot.PivotItemUnloaded Event

Definition

Event for notifying that the pivot item has been completely unloaded from the visual pivot.

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

Event Type

Applies to