Inheritance
System.Object
MenuItem
Assembly: Syncfusion.EJ2.dll
public class MenuItem : EJTagHelper
Constructors
Declaration
Properties
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
public string IconCss { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the id for menu item.
Declaration
public override string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Specifies the sub menu items that is the array of MenuItem model.
Declaration
public object Items { get; set; }
Property Value
Type |
Description |
System.Object |
|
Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
Declaration
public bool Separator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Specifies text for menu item.
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies url for menu item that creates the anchor link to navigate to the url provided.
Declaration
public string Url { get; set; }
Property Value
Type |
Description |
System.String |
|