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
Used to enable or disable the menu item.
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Hidden
Used to hide or show the menu item.
Declaration
public bool Hidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HtmlAttributes
You can add 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
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 string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Items
Specifies 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
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 |