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

Defines the fluent API for configuring the Kendo BottomNavigation for ASP.NET MVC.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class BottomNavigationBuilder : WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>, IHtmlString

Inheritance: objectWidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>BottomNavigationBuilder

Implements: IHtmlString

Inherited Members WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ToComponent()WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.Name(string)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.Deferred(bool)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ModelMetadata(ModelMetadata)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.HtmlAttributes(object)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.HtmlAttributes(IDictionary<string, object>)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.AsModule(bool)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.Render()WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ScriptAttributes(object, bool)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ScriptAttributes(IDictionary<string, object>, bool)WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ToHtmlString()WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ToClientTemplate()WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.ToString()WidgetBuilderBase<BottomNavigation, BottomNavigationBuilder>.Componentobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the BottomNavigation class.

C#
public BottomNavigationBuilder(BottomNavigation component)
Parameters:componentBottomNavigation

The component.

Methods

Toggles the border of the widget.

C#
public BottomNavigationBuilder Border(bool value)
Parameters:valuebool

The value that configures the border.

Returns:

BottomNavigationBuilder

Configures the client-side events.

C#
public BottomNavigationBuilder Events(Action<BottomNavigationEventBuilder> configurator)
Parameters:configuratorAction<BottomNavigationEventBuilder>

The client events action.

Returns:

BottomNavigationBuilder

Example:
C#
@(Html.Kendo().BottomNavigation()
.Name("bottomNavigation")
.Events(events =&gt; events
.Select("onSelect")
)
)

Defines the fill of the component.

C#
public BottomNavigationBuilder Fill(BottomNavigationFill? value)
Parameters:valueBottomNavigationFill?

The value that configures the fill.

Returns:

BottomNavigationBuilder

Example:
C#
@(Html.Kendo().BottomNavigation()
.Name("bottomNavigation")
.Fill(BottomNavigationFill.Solid)
)

Specifies the iteFLow of the component

C#
public BottomNavigationBuilder ItemFlow(BottomNavigationItemFlow value)
Parameters:valueBottomNavigationItemFlow

The value that configures the itemflow.

Returns:

BottomNavigationBuilder

Specifies the items of the BottomNavigation component.

C#
public BottomNavigationBuilder Items(Action<BottomNavigationItemFactory> configurator)
Parameters:configuratorAction<BottomNavigationItemFactory>

The action that configures the items.

Returns:

BottomNavigationBuilder

Specifies the positionMode of the component

C#
public BottomNavigationBuilder PositionMode(BottomNavigationPositionMode value)
Parameters:valueBottomNavigationPositionMode

The value that configures the positionmode.

Returns:

BottomNavigationBuilder

Toggles the shadow of the widget.

C#
public BottomNavigationBuilder Shadow(bool value)
Parameters:valuebool

The value that configures the shadow.

Returns:

BottomNavigationBuilder

Sets a custom template for the items.

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

The value that configures the template.

Returns:

BottomNavigationBuilder

Sets a custom template for the items.

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

A Template component that configures the template.

Returns:

BottomNavigationBuilder

Sets a custom template for the items.

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

The value that configures the template.

Returns:

BottomNavigationBuilder

Sets a custom template for the items.

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

The value that configures the template.

Returns:

BottomNavigationBuilder

Sets a custom template for the items.

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

The value that configures the template.

Returns:

BottomNavigationBuilder

Specifies the color of the component

C#
public BottomNavigationBuilder ThemeColor(BottomNavigationThemeColor value)
Parameters:valueBottomNavigationThemeColor

The value that configures the themecolor.

Returns:

BottomNavigationBuilder