A component that lets you display hierarchical navigation with collapsible items and customizable separators. Supports data binding, item and separator templates, size variants, collapse modes (auto/wrap/none), item click navigation, and width/height styling.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public class TelerikBreadcrumb<TItem> : BindingComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentBindingComponentBaseTelerikBreadcrumb<TItem>
Implements:
Inherited Members
Constructors
public TelerikBreadcrumb()
Properties
Defines the Class DataField of the DataSource.
[Parameter]
public string ClassField { get; set; }
Defines the collapse mode of the Breadcrumb. Default value is Auto.
[Parameter]
public BreadcrumbCollapseMode CollapseMode { get; set; }
Data
IEnumerable<TItem>
Defines the data items of the Breadcrumb.
[Parameter]
public IEnumerable<TItem> Data { get; set; }
Defines the Disabled DataField of the DataSource.
[Parameter]
public string DisabledField { get; set; }
ItemTemplate
RenderFragment<TItem>
Defines the template for each breadcrumb item. Children: allows arbitrary content.
[Parameter]
public RenderFragment<TItem> ItemTemplate { get; set; }
Defines the OnItemClick Event which is fired when clicking on an item.
[Parameter]
public EventCallback<BreadcrumbItemClickEventArgs> OnItemClick { get; set; }
Defines the icon used as a separator between individual items. If no value is provided, a or icon will be used based on the direction.
[Parameter]
public object SeparatorIcon { get; set; }
Defines the template for the separator used between individual items. Children: allows arbitrary content.
[Parameter]
public RenderFragment<TItem> SeparatorTemplate { get; set; }
Defines the Title DataField of the DataSource.
[Parameter]
public string TitleField { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
public override void Dispose()
Overrides:
public override Task SetParametersAsync(ParameterView parameters)
Overrides: