# BottomNavigationItemBuilder

## Methods

### Data(System.Object)

The contextual data of the item.

#### Parameters

##### data - `System.Object`

The data object

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

#### Example

```
 
                @(Html.Kendo().BottomNavigation()
                    .Name("bottomNavigation")
                    .Items(items => {
                        items.Add().Url("/").Data(new { view = "home" }).Icon("home");
                    })
                )
             
```

### Attributes(System.Object)

Defines the attributes of the item.

#### Parameters

##### attributes - `System.Object`

The object to be mapped to the attribute collection

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

#### Example

```
 
                @(Html.Kendo().BottomNavigation()
                    .Name("bottomNavigation")
                    .Items(items => {
                        items.Add().Url("/").Attributes(new { title = "Index"}).Data(new { view = "home" }).Icon("home");
                    })
                )
             
```

### Url(System.String)

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

#### Parameters

##### value - `System.String`

The value for Url

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Icon(System.String)

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.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.

#### Parameters

##### icon - `System.String`

The icon.

#### RETURNS

Returns the current instance of [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) .

### Icon(System.Action)

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.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.

#### Parameters

##### configurator - System.Action<[BottomNavigationItemIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitemiconsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

Returns the current instance of [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) .

### Text(System.String)

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

#### Parameters

##### value - `System.String`

The value for Text

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Encoded(System.Boolean)

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

#### Parameters

##### value - `System.Boolean`

The value for Encoded

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### IconClass(System.String)

Defines the class name added to the icon element.

#### Parameters

##### value - `System.String`

The value for IconClass

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### CssClass(System.String)

Defines the class names of the item's element.

#### Parameters

##### value - `System.String`

The value for CssClass

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Enabled(System.Boolean)

Toggles the enabled state of the item.

#### Parameters

##### value - `System.Boolean`

The value for Enabled

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Selected(System.Boolean)

Toggles the selected state of the item.

#### Parameters

##### value - `System.Boolean`

The value for Selected

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Selected()

Toggles the selected state of the item.

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Template(System.String)

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

#### Parameters

##### value - `System.String`

The value for Template

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### TemplateId(System.String)

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

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### TemplateHandler(System.String)

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

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.

### Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

Returns the current [BottomNavigationItemBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/bottomnavigationitembuilder) instance.
