Class MenuItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Navigations
Assembly: Syncfusion.EJ2.dll
Syntax
public class MenuItem : EJTagHelper
Constructors
MenuItem()
Declaration
public MenuItem()
Properties
IconCss
Defines class/multiple classes separated by a space for the menu Item that is used to include an icon. Menu Item can include font icon and sprite image.
Declaration
[HtmlAttributeName("iconCss")]
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Specifies the id for menu item.
Declaration
[HtmlAttributeName("id")]
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Items
Specifies the sub menu items that is the array of MenuItem model.
Declaration
[HtmlAttributeName("items")]
public object Items { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Separator
Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
Declaration
[HtmlAttributeName("separator")]
public bool Separator { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Text
Specifies text for menu item.
Declaration
[HtmlAttributeName("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Specifies url for menu item that creates the anchor link to navigate to the url provided.
Declaration
[HtmlAttributeName("url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |