MenuItemBase
Represents a base implementation for menu items that provides navigation functionality.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
public class MenuItemBase : INavigationItem
Inheritance: objectMenuItemBase
Implements:
Inherited Members
Constructors
public MenuItemBase()
Properties
Configures the action method name for routing when the menu item is clicked.
public string Action { get; set; }
Implements:
Specifies the actions content of the menu item, such as keyboard shortcuts.
public string Actions { get; set; }
Configures the area name for routing when the menu item is clicked.
public string Area { get; set; }
Implements:
Configures the child menu items for creating hierarchical menu structures.
public IEnumerable<MenuItemBase> Children { get; set; }
Configures the custom content for the menu item.
public string Content { get; set; }
Implements:
Configures the HTML attributes for the content element of the menu item.
public object ContentHtmlAttributes { get; set; }
Implements:
Configures the controller name for routing when the menu item is clicked.
public string Controller { get; set; }
Implements:
Specifies the description of the menu item.
public string Description { get; set; }
Configures a value indicating whether the menu item is enabled and can be interacted with.
public bool? Enabled { get; set; }
Implements:
Indicates whether the text content of the menu item should be HTML encoded.
public bool? Encoded { get; set; }
Implements:
Configures the URL fragment (anchor) for the menu item.
public string Fragment { get; set; }
Implements:
Indicates whether the menu item is rendered as a decorative, non-interactive group header instead of a regular selectable menu item.
public bool? GroupHeader { get; set; }
Configures the host name for the menu item URL.
public string Host { get; set; }
Implements:
Configures the CSS class name for the icon of the menu item.
public string IconClass { get; set; }
Implements:
Configures the HTML attributes for the image element of the menu item.
public object ImageHtmlAttributes { get; set; }
Implements:
Configures the URL of the image to display for the menu item.
public string ImageUrl { get; set; }
Implements:
Configures the HTML attributes for the link element of the menu item.
public object LinkHtmlAttributes { get; set; }
Implements:
Configures the protocol (http/https) for the menu item URL.
public string Protocol { get; set; }
Implements:
Configures the route name for routing when the menu item is clicked.
public string Route { get; set; }
Implements:
Configures the route values (parameters) for routing when the menu item is clicked.
public IDictionary<string, string> RouteValues { get; set; }
Implements:
Configures a value indicating whether the menu item is currently selected.
public bool? Selected { get; set; }
Implements:
Indicates whether the menu item acts as a separator.
public bool? Separator { get; set; }
Implements:
Configures the display text for the menu item.
public string Text { get; set; }
Implements:
Configures the URL that the menu item navigates to when clicked.
public string Url { get; set; }
Implements: