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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public abstract class NavigationItem<T> : LinkedObjectBase<T>, INavigatable, IHtmlAttributesContainer, IContentContainer where T : NavigationItem<T>

Inheritance: objectLinkedObjectBase<T>NavigationItem<T>

Derived Classes: ContextMenuItemDropDownTreeItemMenuItemPanelBarItemTabStripItemTreeViewItem...

Implements: IContentContainerIHtmlAttributesContainerINavigatable

Inherited Members LinkedObjectBase<T>.ParentLinkedObjectBase<T>.PreviousSiblingLinkedObjectBase<T>.NextSiblingobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
protected NavigationItem()

Properties

Gets or sets the name of the action.

C#
public string ActionName { get; set; }
Property Value:

The name of the action.

Implements: INavigatable.ActionName

The action which will output the content.

C#
public Action Content { get; set; }

Implements: IContentContainer.Content

The HtmlAttributes which will be added to the wrapper of the content.

C#
public IDictionary<string, object> ContentHtmlAttributes { get; }

Implements: IContentContainer.ContentHtmlAttributes

Gets or sets the name of the controller.

C#
public string ControllerName { get; set; }
Property Value:

The name of the controller.

Implements: INavigatable.ControllerName

C#
public bool Enabled { get; set; }
C#
public bool Encoded { get; set; }
C#
public string Html { get; set; }

The HtmlAttributes applied to objects which can have child items

C#
public IDictionary<string, object> HtmlAttributes { get; }

Implements: IHtmlAttributesContainer.HtmlAttributes

C#
public IDictionary<string, object> ImageHtmlAttributes { get; }
C#
public string ImageUrl { get; set; }
C#
public IDictionary<string, object> LinkHtmlAttributes { get; }
C#
public int RootLevel { get; set; }

Gets or sets the name of the route.

C#
public string RouteName { get; set; }
Property Value:

The name of the route.

Implements: INavigatable.RouteName

RouteValues

RouteValueDictionary

Gets the route values.

C#
public RouteValueDictionary RouteValues { get; set; }
Property Value:

The route values.

Implements: INavigatable.RouteValues

C#
public bool Selected { get; set; }
C#
public string SpriteCssClasses { get; set; }
C#
public HtmlTemplate Template { get; }
C#
public string Text { get; set; }

Gets or sets the URL.

C#
public string Url { get; set; }
Property Value:

The URL.

Implements: INavigatable.Url

C#
public bool Visible { get; set; }