ASP.NET MVC - EJ2

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuItem

    Show / Hide Table of Contents

    Class MenuItem

    Inheritance
    System.Object
    EJTagHelper
    MenuItem
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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
    public string IconCss { get; set; }
    Property Value
    Type Description
    System.String

    Id

    Specifies the id for menu item.

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.Id

    IsChild

    Declaration
    protected override bool IsChild { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsChild

    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

    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

    Text

    Specifies text for menu item.

    Declaration
    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
    public string Url { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved