Class MenuItem
Represents a text display menu item
Assembly: TextDisplayMenu.dll
View Source
Declaration
public class MenuItem
Properties
SubItems
Sub items in the menu
View Source
Declaration
public MenuItem[]? SubItems { get; set; }
Text
The text on the menu item
View Source
Declaration
public string Text { get; set; }
Command
The optional command when the item is selected
View Source
Declaration
public string Command { get; set; }
Type
The menu item type
View Source
Declaration
public string Type { get; set; }
Id
The menu item id
View Source
Declaration
public string Id { get; set; }
Value
The menu item value
View Source
Declaration
public object? Value { get; set; }
HasSubItems
Does the item have sub items
View Source
Declaration
public bool HasSubItems { get; }
IsEditable
Is the menu item editable by the user
View Source
Declaration
public bool IsEditable { get; }