Class
TelerikBreadcrumb<TItem>

The class for the Telerik Breadcrumb Component.

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: 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>)ComponentBase.DisExceptionAsync(Exception)

Constructors

TelerikBreadcrumb()

Declaration

public TelerikBreadcrumb()

Properties

ClassField

Defines the Class DataField of the DataSource.

Declaration

[Parameter]
public string ClassField { get; set; }

Property Value

string

CollapseMode

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

Declaration

[Parameter]
public BreadcrumbCollapseMode CollapseMode { get; set; }

Property Value

BreadcrumbCollapseMode

Data

Defines the data items of the Breadcrumb.

Declaration

[Parameter]
public IEnumerable<TItem> Data { get; set; }

Property Value

IEnumerable<TItem>

DisabledField

Defines the Disabled DataField of the DataSource.

Declaration

[Parameter]
public string DisabledField { get; set; }

Property Value

string

Height

Defines the height of the Breadcrumb.

Declaration

[Parameter]
public string Height { get; set; }

Property Value

string

ItemTemplate

Defines the template for each breadcrumb item. Children: allows arbitrary content.

Declaration

[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

[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

[Parameter]
public object SeparatorIcon { get; set; }

Property Value

object

SeparatorTemplate

Defines the template for the separator used between individual items. Children: allows arbitrary content.

Declaration

[Parameter]
public RenderFragment<TItem> SeparatorTemplate { get; set; }

Property Value

RenderFragment<TItem>

Size

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

Declaration

[Parameter]
public string Size { get; set; }

Property Value

string

TitleField

Defines the Title DataField of the DataSource.

Declaration

[Parameter]
public string TitleField { get; set; }

Property Value

string

Width

Defines the width of the Breadcrumb.

Declaration

[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

public override void Dispose()

Overrides BaseComponent.Dispose()

OnAfterRenderAsync(bool)

Declaration

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)