Class ContextMenuItem
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
ContextMenuItem
Namespace: Syncfusion.EJ2.Navigations
Assembly: Syncfusion.EJ2.dll
Syntax
public class ContextMenuItem : EJTagHelper
Constructors
ContextMenuItem()
Declaration
public ContextMenuItem()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
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
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Id
Specifies the id for menu item.
Declaration
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Overrides
Syncfusion.EJ2.EJTagHelper.Id
Items
Specifies the sub menu items that is the array of MenuItem model.
Declaration
public object Items { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Separator
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 | The default value is false |
Text
Specifies text for menu item.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Url
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 | The default value is "" |