New to Telerik UI for ASP.NET MVC? Download free 30-day trial

BreadcrumbItemBuilder

Methods

Encoded(System.Boolean)

Defines whether to encode the item's text. To render entities or HTML, set it to false.

Parameters

value - System.Boolean

The value that configures the encoded.

Example


             @(Html.Kendo().Breadcrumb()
                   .Name("Breadcrumb")
                   .Items(t =>
                   {
                       t.Add().Text("Month").Encoded(true);
                   })
            )

Href(System.String)

Defines the navigation link's url of the item (rendered if navigation is true).

Parameters

value - System.String

The value that configures the href.

Text(System.String)

Defines the text of the item.

Parameters

value - System.String

The value that configures the text.

Example


             @(Html.Kendo().Breadcrumb()
                   .Name("Breadcrumb")
                   .Items(t =>
                   {
                       t.Add().Text("Month");
                   })
            )

Icon(System.String)

Defines the icon to be rendered.

Parameters

value - System.String

The value that configures the icon.

Example


             @(Html.Kendo().Breadcrumb()
                   .Name("Breadcrumb")
                   .Items(t =>
                   {
                       t.Add().Text("Month").Icon("align-left");
                   })
            )

ItemClass(System.String)

Defines the item classes (the li element).

Parameters

value - System.String

The value that configures the itemclass.

LinkClass(System.String)

Defines the link classes (the a element).

Parameters

value - System.String

The value that configures the linkclass.

IconClass(System.String)

Defines the icon classes (the span element).

Parameters

value - System.String

The value that configures the iconclass.

Example


             @(Html.Kendo().Breadcrumb()
                   .Name("Breadcrumb")
                   .Items(t =>
                   {
                       t.Add().Text("Month").Icon("align-left").IconClass("fa fa-male");
                   })
            )

ShowIcon(System.Boolean)

Defines whether to show the icon. Default value is true for rootItem and false for item.

Parameters

value - System.Boolean

The value that configures the showicon.

ShowText(System.Boolean)

Defines whether to show the text. Default value is false for rootItem and true for item.

Parameters

value - System.Boolean

The value that configures the showtext.

Type(Kendo.Mvc.UI.BreadcrumbItemType)

The item type.

Parameters

value - BreadcrumbItemType

The value that configures the type.

In this article
Not finding the help you need?