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

Kendo UI BottomNavigation component

Definition

Constructors

Initializes a new instance of the BottomNavigation class.

C#
public BottomNavigation(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

Toggles the border of the widget.

C#
public bool? Border { get; set; }

Defines the fill of the component

C#
public BottomNavigationFill? Fill { get; set; }

Specifies the iteFLow of the component

C#
public BottomNavigationItemFlow? ItemFlow { get; set; }

Specifies the items of the BottomNavigation component.

C#
public List<BottomNavigationItem> Items { get; set; }

Specifies the positionMode of the component

C#
public BottomNavigationPositionMode? PositionMode { get; set; }

Toggles the shadow of the widget.

C#
public bool? Shadow { get; set; }

Sets a custom template for the items.

C#
public string Template { get; set; }

The handler for the Template

C#
public string TemplateHandler { get; set; }

The id for the Template

C#
public string TemplateId { get; set; }

Specifies the color of the component

C#
public BottomNavigationThemeColor? ThemeColor { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)