BreadcrumbBuilder
Defines the fluent API for configuring the Kendo UI Breadcrumb
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class BreadcrumbBuilder : WidgetBuilderBase<Breadcrumb, BreadcrumbBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Breadcrumb, BreadcrumbBuilder>BreadcrumbBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the BreadcrumbBuilder class.
Methods
Indicates whether the Breadcrumb will enable/disable the binding to the location object of the browser on initialization.
public BreadcrumbBuilder BindToLocation()
Returns the current BreadcrumbBuilder instance.
Indicates whether the Breadcrumb will enable/disable the binding to the location object of the browser on initialization.
public BreadcrumbBuilder BindToLocation(bool value)
The value for BindToLocation
Returns:Returns the current BreadcrumbBuilder instance.
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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public BreadcrumbBuilder DelimiterIcon(Action<BreadcrumbDelimiterIconSettingsBuilder> configurator)
The BreadcrumbDelimiterIconSettingsBuilder for the delimitericon setting.
Returns:Returns the current instance of BreadcrumbBuilder .
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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public BreadcrumbBuilder DelimiterIcon(string delimiterIcon)
The delimitericon.
Returns:Returns the current instance of BreadcrumbBuilder .
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.
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.
public BreadcrumbBuilder Editable(bool value)
The value for Editable
Returns:Returns the current BreadcrumbBuilder instance.
Configures the client-side events.
public BreadcrumbBuilder Events(Action<BreadcrumbEventBuilder> configurator)
The client events action.
Returns:Returns the current BreadcrumbBuilder instance.
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.
public BreadcrumbBuilder Gap(double value)
The value for Gap
Returns:Returns the current BreadcrumbBuilder instance.
Array of items to be rendered in Breadcrumb.
public BreadcrumbBuilder Items(Action<BreadcrumbItemFactory> configurator)
The BreadcrumbItemFactory for the items setting.
Returns:Returns the current instance of BreadcrumbBuilder .
Defines the text of the root icon title that is displayed within the Breadcrumb.
public BreadcrumbBuilder Messages(Action<BreadcrumbMessagesSettingsBuilder> configurator)
The BreadcrumbMessagesSettingsBuilder for the messages setting.
Returns:Returns the current instance of BreadcrumbBuilder .
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.
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.
public BreadcrumbBuilder Navigational(bool value)
The value for Navigational
Returns:Returns the current BreadcrumbBuilder instance.
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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public BreadcrumbBuilder RootIcon(Action<BreadcrumbRootIconSettingsBuilder> configurator)
The BreadcrumbRootIconSettingsBuilder for the rooticon setting.
Returns:Returns the current instance of BreadcrumbBuilder .
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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public BreadcrumbBuilder RootIcon(string rootIcon)
The rooticon.
Returns:Returns the current instance of BreadcrumbBuilder .
Sets the size of the component.
public BreadcrumbBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current BreadcrumbBuilder instance.
Sets the Breadcrumb tag. A nav tag is used by default.
public BreadcrumbBuilder Tag(string tag)
Returns the current BreadcrumbBuilder instance.
Defines the value/path of the component. Each segments is separated by a slash.
public BreadcrumbBuilder Value(string value)
The value for Value
Returns:Returns the current BreadcrumbBuilder instance.