Class MenuItemModel
Interface for a class MenuItem.
Inherited Members
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 |