BreadcrumbBar class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.BreadcrumbBar
Modifiers: public
Summary¶
The BreadcrumbBar control provides the direct path of pages or folders to the current location.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class BreadcrumbBar
class ItemsControl
ItemsControl <|-- BreadcrumbBar
class IUseHostedNavigation {
<>
}
IUseHostedNavigation <|.. BreadcrumbBar
Inherits from: ItemsControl
Implements: IUseHostedNavigation
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [BreadcrumbBar](# class. |
Properties¶
| Name | Summary |
|---|---|
| TemplateButtonCommand | Gets the [ReactiveCommand](# triggered after clicking. |
| Command | Gets or sets custom command executed after selecting the item. |
| OnTemplateButtonClickCommand |
Fields¶
| Name | Summary |
|---|---|
| static CommandProperty | Property for [Command](# |
| static TemplateButtonCommandProperty | Property for [TemplateButtonCommand](# |
| static ItemClickedEvent | Property for [ItemClicked](# |
Methods¶
| Name | Summary |
|---|---|
| SetupNavigation | Setups the navigation. |
| NavigateTo | Navigates to the specified view as registered to the viewmodel and updates the Breadcrumb. |
| NavigateBack | Navigates back and updates the Breadcrumb to remove the last item. |
| OnItemClicked | Called when an item is clicked in the [BreadcrumbBar](# |
| CreateContainerForItemOverride | Creates or identifies the element that is used to display the given item. |
| OnLoaded | Called when the [BreadcrumbBar](# is loaded. |
| OnUnloaded | Called when the [BreadcrumbBar](# is unloaded. |
Events¶
| Name | Summary |
|---|---|
| ItemClicked | Occurs when an item is clicked in the [BreadcrumbBar](# |