Pivot.PivotItemUnloaded Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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" />