Skip to content

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

NameSummary
.ctorInitializes a new instance of the [BreadcrumbBar](# class.

Properties

NameSummary
TemplateButtonCommandGets the [ReactiveCommand](# triggered after clicking.
CommandGets or sets custom command executed after selecting the item.
OnTemplateButtonClickCommand

Fields

NameSummary
static CommandPropertyProperty for [Command](#
static TemplateButtonCommandPropertyProperty for [TemplateButtonCommand](#
static ItemClickedEventProperty for [ItemClicked](#

Methods

NameSummary
SetupNavigationSetups the navigation.
NavigateToNavigates to the specified view as registered to the viewmodel and updates the Breadcrumb.
NavigateBackNavigates back and updates the Breadcrumb to remove the last item.
OnItemClickedCalled when an item is clicked in the [BreadcrumbBar](#
CreateContainerForItemOverrideCreates or identifies the element that is used to display the given item.
OnLoadedCalled when the [BreadcrumbBar](# is loaded.
OnUnloadedCalled when the [BreadcrumbBar](# is unloaded.

Events

NameSummary
ItemClickedOccurs when an item is clicked in the [BreadcrumbBar](#
Inherited members