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

Defines the fluent API for configuring the BottomNavigationItem settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class BottomNavigationItemBuilder

Inheritance: objectBottomNavigationItemBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public BottomNavigationItemBuilder(BottomNavigationItem settings)
Parameters:settingsBottomNavigationItem

The BottomNavigationItem

Methods

Defines the class names of the item's element.

C#
public BottomNavigationItemBuilder CssClass(string value)
Parameters:valuestring

The value that configures the cssclass.

Returns:

BottomNavigationItemBuilder

Contextual data to be used for events within the component.

C#
public BottomNavigationItemBuilder Data(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value that configures the data.

Returns:

BottomNavigationItemBuilder

Contextual data to be used for events within the component.

C#
public BottomNavigationItemBuilder Data(object value)
Parameters:valueobject

The value that configures the data.

Returns:

BottomNavigationItemBuilder

Toggles the enabled state of the item.

C#
public BottomNavigationItemBuilder Enabled(bool value)
Parameters:valuebool

The value that configures the enabled.

Returns:

BottomNavigationItemBuilder

If false, the text will be able to render HTML.

C#
public BottomNavigationItemBuilder Encoded(bool value)
Parameters:valuebool

The value that configures the encoded.

Returns:

BottomNavigationItemBuilder

Defines custom attributes of the item's element.

C#
public BottomNavigationItemBuilder HtmlAttributes(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value that configures the htmlattributes.

Returns:

BottomNavigationItemBuilder

Defines custom attributes of the item's element.

C#
public BottomNavigationItemBuilder HtmlAttributes(object value)
Parameters:valueobject

The value that configures the htmlattributes.

Returns:

BottomNavigationItemBuilder

Defines the name for an existing icon in a Kendo UI theme.See web font icons help article for more details on Kendo UI icons.

C#
public BottomNavigationItemBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

BottomNavigationItemBuilder

Defines the class name added to the icon element.

C#
public BottomNavigationItemBuilder IconClass(string value)
Parameters:valuestring

The value that configures the iconclass.

Returns:

BottomNavigationItemBuilder

Toggles the selected state of the item.

C#
public BottomNavigationItemBuilder Selected(bool value)
Parameters:valuebool

The value that configures the selected.

Returns:

BottomNavigationItemBuilder

Sets a custom template for the item (overrides the template option).

C#
public BottomNavigationItemBuilder Template(string value)
Parameters:valuestring

The value that configures the template.

Returns:

BottomNavigationItemBuilder

Sets a custom template for the item (overrides the template option).

C#
public BottomNavigationItemBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

BottomNavigationItemBuilder

Sets a custom template for the item (overrides the template option).

C#
public BottomNavigationItemBuilder TemplateHandler(string value)
Parameters:valuestring

The value that configures the template.

Returns:

BottomNavigationItemBuilder

Sets a custom template for the item (overrides the template option).

C#
public BottomNavigationItemBuilder TemplateId(string value)
Parameters:valuestring

The value that configures the template.

Returns:

BottomNavigationItemBuilder

Sets a custom template for the item (overrides the template option).

C#
public BottomNavigationItemBuilder TemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the template.

Returns:

BottomNavigationItemBuilder

The text of the item. It is optional - if not set, no text will be rendered.

C#
public BottomNavigationItemBuilder Text(string value)
Parameters:valuestring

The value that configures the text.

Returns:

BottomNavigationItemBuilder

The URL (href) to which the item will navigate to.

C#
public BottomNavigationItemBuilder Url(string value)
Parameters:valuestring

The value that configures the url.

Returns:

BottomNavigationItemBuilder