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

MenuItemTagHelper

Example

<menu-item>
    <content />
    <sub-items></sub-items>
</menu-item>

ChildTags

Tag Name Details
content MenuItemContentTagHelper
sub-items MenuItemSubItemsTagHelper

Attributes

Attribute Type Description
action String
area String
controller String
enabled Boolean Specifies whether the item is initially enabled
encoded Boolean Specifies whether the item's text is encoded
fragment String
host String
icon String Specifies custom class name for the icon displayed by the item
icon-class String Specifies custom class name for the icon displayed by the item
image-html-attributes Object Specifies the HTML attributes of the image
image-url String Specifies the URL of the image displayed by the item
link-html-attributes Object Specifies the HTML attributes of the link
page String
page-handler String
protocol String
route String
route-values IDictionary<String,String>
selected Boolean Specifies whether the item is initially selected
separator Boolean Specifies whether the item is a separator
text String Specifies the text displayed by the item
url String Specifies the URL that the item links to
visible Boolean Specifies whether the item will be rendered
In this article
Not finding the help you need?