PipsPager.SelectedIndexChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
// 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 或用户与导航按钮交互时,可以通过编程方式发生此事件。
随此事件一起返回的数据是所选页面的索引。