PipsPager.SelectedIndexChanged 事件

定义

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) 

事件类型

注解

当用户选择单个 pip 或用户与导航按钮交互时,可以通过编程方式发生此事件。

随此事件一起返回的数据是所选页面的索引。

适用于

另请参阅