Share via


BreadcrumbBar.ItemClicked Event

Definition

Occurs when an item is clicked in the 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) 

Event Type

Remarks

For more info, design guidance, and code examples, see Breadcrumb bar overview.

Applies to

See also