Pivot.PivotItemUnloading 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 offering an opportunity to dynamically load, change, or remove the content of a pivot item as it is removed.
// Register
event_token PivotItemUnloading(TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;
// Revoke with event_token
void PivotItemUnloading(event_token const* cookie) const;
// Revoke with event_revoker
Pivot::PivotItemUnloading_revoker PivotItemUnloading(auto_revoke_t, TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;
public event TypedEventHandler<Pivot,PivotItemEventArgs> PivotItemUnloading;
function onPivotItemUnloading(eventArgs) { /* Your code */ }
pivot.addEventListener("pivotitemunloading", onPivotItemUnloading);
pivot.removeEventListener("pivotitemunloading", onPivotItemUnloading);
- or -
pivot.onpivotitemunloading = onPivotItemUnloading;
Public Custom Event PivotItemUnloading As TypedEventHandler(Of Pivot, PivotItemEventArgs)
<Pivot PivotItemUnloading="eventhandler" />