Share via


PipsPager.SelectedIndexChanged Event

Definition

Occurs after the selected index changes on the PipsPager.

// Register
event_token SelectedIndexChanged(TypedEventHandler<PipsPager, PipsPagerSelectedIndexChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PipsPager::SelectedIndexChanged_revoker SelectedIndexChanged(auto_revoke_t, TypedEventHandler<PipsPager, PipsPagerSelectedIndexChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PipsPager,PipsPagerSelectedIndexChangedEventArgs> SelectedIndexChanged;
function onSelectedIndexChanged(eventArgs) { /* Your code */ }
pipsPager.addEventListener("selectedindexchanged", onSelectedIndexChanged);
pipsPager.removeEventListener("selectedindexchanged", onSelectedIndexChanged);
- or -
pipsPager.onselectedindexchanged = onSelectedIndexChanged;
Public Custom Event SelectedIndexChanged As TypedEventHandler(Of PipsPager, PipsPagerSelectedIndexChangedEventArgs) 

Event Type

Remarks

This event can occur programmatically, when the user selects an individual pip, or when the user interacts with the navigation buttons.

The data returned with this event is the index of the page that was selected.

Applies to

See also