alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MenuItemModel

    Interface for a class MenuItem.

    Inheritance
    object
    MenuItemModel
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class MenuItemModel

    Constructors

    MenuItemModel()

    Declaration
    public MenuItemModel()

    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
    [JsonPropertyName("iconCss")]
    public string IconCss { get; set; }
    Property Value
    Type
    string

    Id

    Specifies the id for menu item.

    Declaration
    [JsonPropertyName("id")]
    public string Id { get; set; }
    Property Value
    Type
    string

    Items

    Specifies the sub menu items that is the array of MenuItem model.

    Declaration
    [JsonPropertyName("items")]
    public List<MenuItemModel> Items { get; set; }
    Property Value
    Type
    List<MenuItemModel>

    Separator

    Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.

    Declaration
    [JsonPropertyName("separator")]
    public bool Separator { get; set; }
    Property Value
    Type
    bool

    Text

    Specifies text for menu item.

    Declaration
    [JsonPropertyName("text")]
    public string Text { get; set; }
    Property Value
    Type
    string

    Url

    Specifies url for menu item that creates the anchor link to navigate to the url provided.

    Declaration
    [JsonPropertyName("url")]
    public string Url { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved