Class
TelerikBreadcrumb<TItem>

The class for the Telerik Breadcrumb Component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

Syntax:

cs-api-definition
public class TelerikBreadcrumb<TItem> : BindingComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentBindingComponentBaseTelerikBreadcrumb<TItem>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BindingComponentBase.TextFieldBindingComponentBase.IconFieldBindingComponentBase.UrlFieldBaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

TelerikBreadcrumb()

Declaration

cs-api-definition
public TelerikBreadcrumb()

Properties

ClassField

Defines the Class DataField of the DataSource.

Declaration

cs-api-definition
[Parameter]
public string ClassField { get; set; }

Property Value

string

CollapseMode

Defines the collapse mode of the Breadcrumb. Default value is Auto.

Declaration

cs-api-definition
[Parameter]
public BreadcrumbCollapseMode CollapseMode { get; set; }

Property Value

BreadcrumbCollapseMode

Data

Defines the data items of the Breadcrumb.

Declaration

cs-api-definition
[Parameter]
public IEnumerable<TItem> Data { get; set; }

Property Value

IEnumerable<TItem>

DisabledField

Defines the Disabled DataField of the DataSource.

Declaration

cs-api-definition
[Parameter]
public string DisabledField { get; set; }

Property Value

string

Height

Defines the height of the Breadcrumb.

Declaration

cs-api-definition
[Parameter]
public string Height { get; set; }

Property Value

string

ItemTemplate

Defines the template for each breadcrumb item.

Declaration

cs-api-definition
[Parameter]
public RenderFragment<TItem> ItemTemplate { get; set; }

Property Value

RenderFragment<TItem>

OnItemClick

Defines the OnItemClick Event which is fired when clicking on an item.

Declaration

cs-api-definition
[Parameter]
public EventCallback<BreadcrumbItemClickEventArgs> OnItemClick { get; set; }

Property Value

EventCallback<BreadcrumbItemClickEventArgs>

SeparatorIcon

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.

Declaration

cs-api-definition
[Parameter]
public object SeparatorIcon { get; set; }

Property Value

object

SeparatorTemplate

Defines the template for the separator used between individual items.

Declaration

cs-api-definition
[Parameter]
public RenderFragment<TItem> SeparatorTemplate { get; set; }

Property Value

RenderFragment<TItem>

Size

Specifies the size of the Breadcrumb. Default value is Medium.

Declaration

cs-api-definition
[Parameter]
public string Size { get; set; }

Property Value

string

TitleField

Defines the Title DataField of the DataSource.

Declaration

cs-api-definition
[Parameter]
public string TitleField { get; set; }

Property Value

string

Width

Defines the width of the Breadcrumb.

Declaration

cs-api-definition
[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides BaseComponent.Dispose()

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)