BreadcrumbBarItem
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Controls
public class BreadcrumbBarItem : ContentControl
The visual crumb generated by BreadcrumbBar for each item: a subtle button-like content host followed by a chevron separator that the default template hides on the last (current) crumb. Crumbs are keyboard focusable and activate through a mouse left-button release, Enter, or Space, raising Click.
Base type: ContentControl (including inherited WPF and .NET members)
Constructors
BreadcrumbBarItem
public BreadcrumbBarItem()
Creates a new BreadcrumbBarItem instance.
Properties
IsLastItem
public bool IsLastItem { get; }
Gets whether this crumb is the last (current) item of its owning BreadcrumbBar. The default template hides the chevron separator and switches to primary SemiBold typography while this is true.
IsPressed
public bool IsPressed { get; }
Gets whether the crumb is currently pressed.
Methods
OnKeyDown
protected override void OnKeyDown(KeyEventArgs e)
Documentation inherited from the ContentControl API.
OnKeyUp
protected override void OnKeyUp(KeyEventArgs e)
Documentation inherited from the ContentControl API.
OnLostMouseCapture
protected override void OnLostMouseCapture(MouseEventArgs e)
Documentation inherited from the ContentControl API.
OnMouseLeave
protected override void OnMouseLeave(MouseEventArgs e)
Documentation inherited from the ContentControl API.
OnMouseLeftButtonDown
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Documentation inherited from the ContentControl API.
OnMouseLeftButtonUp
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Documentation inherited from the ContentControl API.
Events
Click
public event RoutedEventHandler Click
Occurs when the crumb is activated by a mouse left-button release that began with a press inside the crumb bounds, or by the Enter or Space key while focused. The owning BreadcrumbBar aggregates this into ItemClicked.
Dependency property identifiers
Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.
IsLastItemProperty
public static readonly DependencyProperty IsLastItemProperty
Identifies the IsLastItem dependency property.
IsPressedProperty
public static readonly DependencyProperty IsPressedProperty
Identifies the IsPressed dependency property.
Fields
ClickEvent
public static readonly RoutedEvent ClickEvent
Identifies the Click routed event.