Class MenuItem
Represents the MenuItem class
Inheritance
System.Object
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.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class MenuItem
Constructors
MenuItem()
Declaration
public MenuItem()
Properties
HtmlAttributes
Gets or sets the HTML attributes.
Declaration
[JsonProperty("HtmlAttributes")]
public string HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HTML attributes |
Id
Gets or sets the identifier.
Declaration
[JsonProperty("Id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identifier |
ImageAttributes
Gets or sets the Image attribute.
Declaration
[JsonProperty("ImageAttributes")]
public string ImageAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Image atttribute |
ImageURL
Gets or sets the Image URL.
Declaration
[JsonProperty("ImageURL")]
public string ImageURL { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Image URL |
Items
Gets the items.
Declaration
[JsonProperty("Items")]
public List<MenuItem> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MenuItem> |
LinkAttributes
Gets or sets the Link attributes.
Declaration
[JsonProperty("LinkAttributes")]
public string LinkAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Link attributes |
SpriteCssClass
Gets or sets sprite CSS class.
Declaration
[JsonProperty("SpriteCssClass")]
public string SpriteCssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The sprite CSS class |
Template
Gets or sets the template.
Declaration
public HtmlGenericControl Template { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.HtmlControls.HtmlGenericControl | The template. |
Text
Gets or sets the Text.
Declaration
[JsonProperty("Text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Text |
Url
Gets or sets the URL.
Declaration
[JsonProperty("Url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | The URL |
Methods
ShouldSerializeMenuBaseItem()
Should serialize method for menu base item.
Declaration
public bool ShouldSerializeMenuBaseItem()
Returns
Type | Description |
---|---|
System.Boolean |