Kendo.Mvc.UI.Fluent.BreadcrumbBuilder

Defines the fluent API for configuring the Kendo UI Breadcrumb

Methods

Tag(System.String)

Sets the Breadcrumb tag. A nav tag is used by default.

Example (ASPX)

<%= Html.Kendo().Breadcrumb()
    .Name("Breadcrumb")
    .Tag("input")
%>

BindToLocation(System.Boolean)

Indicates whether the Breadcrumb will enable/disable the binding to the location object of the browser on initialization.

Parameters

value System.Boolean

The value for BindToLocation

BindToLocation

Indicates whether the Breadcrumb will enable/disable the binding to the location object of the browser on initialization.

DelimiterIcon(System.String)

Defines a name of an existing icon in the Kendo UI Web Font Icons. The icon will be applied as separator between the segments of the Breadcrumb path.

Parameters

value System.String

The value for DelimiterIcon

Editable(System.Boolean)

Indicates whether the editing functionality of the Breadcrumb will be enabled/disabled.If the option is enabled the path will be editable. Clicking in an empty area of the component will trigger editing mode. Editing mode shows an input showing the value of the component enabling the end user to type a new path.

Parameters

value System.Boolean

The value for Editable

Editable

Indicates whether the editing functionality of the Breadcrumb will be enabled/disabled.If the option is enabled the path will be editable. Clicking in an empty area of the component will trigger editing mode. Editing mode shows an input showing the value of the component enabling the end user to type a new path.

Items(System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbItemFactory>)

Array of items to be rendered in Breadcrumb.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbItemFactory>

The configurator for the items setting.

Gap(System.Double)

Defines the space in pixels after the last item to stay empty.The gap value is taken into account when items overflow and continues to remain empty.

Parameters

value System.Double

The value for Gap

Messages(System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbMessagesSettingsBuilder>)

Defines the text of the root icon title that is displayed within the Breadcrumb.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbMessagesSettingsBuilder>

The configurator for the messages setting.

Indicates whether the navigation functionality of the Breadcrumb will be enabled/disabled.When navigational is set to false, automatic navigation (changing url location) is disabled by default. In this state, the click event will be prevented and navigation will occur only if programmatic navigation is implemented.When navigational is set to true, the url (path) will be automatically added to the href attribute of the rendered links. In this state, the click event will trigger navigation.

Parameters

value System.Boolean

The value for Navigational

Indicates whether the navigation functionality of the Breadcrumb will be enabled/disabled.When navigational is set to false, automatic navigation (changing url location) is disabled by default. In this state, the click event will be prevented and navigation will occur only if programmatic navigation is implemented.When navigational is set to true, the url (path) will be automatically added to the href attribute of the rendered links. In this state, the click event will trigger navigation.

RootIcon(System.String)

Defines a name of an existing icon in the Kendo UI Web Font Icons. The icon will be applied as the first item(root) of Breadcrumb path.The root icon is clickable and resets the value of the component.

Parameters

value System.String

The value for RootIcon

Value(System.String)

Defines the value/path of the component. Each segments is separated by a slash.

Parameters

value System.String

The value for Value

Events(System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BreadcrumbEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().Breadcrumb()
    .Name("Breadcrumb")
    .Events(events => events
        .Click("onClick")
    )
)
In this article
Not finding the help you need?