MenuItemBase - ahatornn/clforms GitHub Wiki

MenuItemBase

ClForms.Elements.Abstractions.MenuItemBase
Represents an individual item that is displayed within a MainMenu

public abstract class MenuItemBase

Properties

Name Type Description
Enabled bool Gets or sets a value indicating whether the menu item is enabled
Id int Gets or sets a value of the item's identifier
MenuItemLength int Returns the length required to display a menu item
Parent MenuItemBase Gets a value indicating the menu that contains this menu item
Tag object Gets or sets user-defined data associated with the menu item
Text string Gets or sets a value indicating the caption of the menu item
Visible bool Gets or sets a value indicating whether the menu item is visible