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

Defines the contract for navigation items in Kendo UI controls.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
public interface INavigationItem

Derived Classes: MenuItemBaseMenuItemTagHelperTabStripItemBaseTabStripItemTagHelper

Properties

Gets or sets the action name for MVC routing.

C#
string Action { get; set; }

Gets or sets the area name for MVC routing.

C#
string Area { get; set; }

Gets or sets the HTML content of the navigation item.

C#
string Content { get; set; }

Gets or sets the HTML attributes for the content element of the navigation item.

C#
object ContentHtmlAttributes { get; set; }

Gets or sets the controller name for MVC routing.

C#
string Controller { get; set; }

Gets or sets a value indicating whether the navigation item is enabled.

C#
bool? Enabled { get; set; }

Gets or sets a value indicating whether the navigation item text should be HTML encoded.

C#
bool? Encoded { get; set; }

Gets or sets the URL fragment (anchor) for navigation.

C#
string Fragment { get; set; }

Gets or sets the host name for URL generation.

C#
string Host { get; set; }

Gets or sets the icon name for the navigation item.

C#
string Icon { get; set; }

Gets or sets the CSS class name for the icon displayed by the navigation item.

C#
string IconClass { get; set; }

Gets or sets the HTML attributes for the image element of the navigation item.

C#
object ImageHtmlAttributes { get; set; }

Gets or sets the URL of the image displayed by the navigation item.

C#
string ImageUrl { get; set; }

Gets or sets the HTML attributes for the link element of the navigation item.

C#
object LinkHtmlAttributes { get; set; }

Gets or sets the protocol for URL generation.

C#
string Protocol { get; set; }

Gets or sets the route name for MVC routing.

C#
string Route { get; set; }

Gets or sets the route values for MVC routing.

C#
IDictionary<string, string> RouteValues { get; set; }

Gets or sets a value indicating whether the navigation item is selected.

C#
bool? Selected { get; set; }

Gets or sets a value indicating whether the navigation item is a separator.

C#
bool? Separator { get; set; }

Gets or sets the text displayed by the navigation item.

C#
string Text { get; set; }

Gets or sets the URL that the navigation item will link to.

C#
string Url { get; set; }

Gets or sets a value indicating whether the navigation item is visible.

C#
bool? Visible { get; set; }