共用方式為


BreadcrumbBar.ItemClicked 事件

定義

發生於 在 BreadcrumbBar 中按兩下專案時。

// Register
event_token ItemClicked(TypedEventHandler<BreadcrumbBar, BreadcrumbBarItemClickedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BreadcrumbBar::ItemClicked_revoker ItemClicked(auto_revoke_t, TypedEventHandler<BreadcrumbBar, BreadcrumbBarItemClickedEventArgs const&> const& handler) const;
public event TypedEventHandler<BreadcrumbBar,BreadcrumbBarItemClickedEventArgs> ItemClicked;
function onItemClicked(eventArgs) { /* Your code */ }
breadcrumbBar.addEventListener("itemclicked", onItemClicked);
breadcrumbBar.removeEventListener("itemclicked", onItemClicked);
- or -
breadcrumbBar.onitemclicked = onItemClicked;
Public Custom Event ItemClicked As TypedEventHandler(Of BreadcrumbBar, BreadcrumbBarItemClickedEventArgs) 

事件類型

備註

如需詳細資訊、設計指引和程式碼範例,請參閱 階層連結列概觀

適用於

另請參閱