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 |
---|
System.Boolean |
Hidden
Gets or sets a value to hide or show the menu item.
Declaration
public bool Hidden { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.String |
Id
Gets or sets the id for menu item.
Declaration
public string Id { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Boolean |
Text
Gets or sets the text for menu item.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
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 |
---|
System.String |