Blazor

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

    Show / Hide Table of Contents

    Class MenuItemModel

    Inheritance
    System.Object
    MenuItemModel
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MenuItemModel : Object

    Constructors

    MenuItemModel()

    Declaration
    public MenuItemModel()

    Properties

    Disabled

    Gets or sets a value to enable or disable the menu item.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Hidden

    Gets or sets a value to hide or show the menu item.

    Declaration
    public bool Hidden { get; set; }
    Property Value
    Type Description
    System.Boolean

    HtmlAttributes

    Gets or sets the additional HTML attributes such as style, title etc., to the menu item

    Declaration
    public Dictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    IconCss

    Gets or sets the 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

    Gets or sets the id for menu item.

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

    Items

    Gets or sets the sub menu items that is the array of MenuItem.

    Declaration
    public List<MenuItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MenuItem>

    Separator

    Gets or sets the separator between 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

    Gets or sets the text for menu item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    Url

    Gets or sets the 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