Pivot.PivotItemLoading 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 or change the content of a pivot item before it is displayed.
// Register
event_token PivotItemLoading(TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;
// Revoke with event_token
void PivotItemLoading(event_token const* cookie) const;
// Revoke with event_revoker
Pivot::PivotItemLoading_revoker PivotItemLoading(auto_revoke_t, TypedEventHandler<Pivot, PivotItemEventArgs const&> const& handler) const;
public event TypedEventHandler<Pivot,PivotItemEventArgs> PivotItemLoading;
function onPivotItemLoading(eventArgs) { /* Your code */ }
pivot.addEventListener("pivotitemloading", onPivotItemLoading);
pivot.removeEventListener("pivotitemloading", onPivotItemLoading);
- or -
pivot.onpivotitemloading = onPivotItemLoading;
Public Custom Event PivotItemLoading As TypedEventHandler(Of Pivot, PivotItemEventArgs)
<Pivot PivotItemLoading="eventhandler" />