TXTextControl.ServerVisualization.MenuItem Class

The MenuItem class provides all data necessary to visualize a menu item, such as the menu's text and the menu's image. An item has an Items property specifying a submenu. If there is no text specified, the menu item is a separator.

Introduced: 21.0.

Syntax

[C#]
public class MenuItem
[Visual Basic]
Public Class MenuItem

Properties

Property Description
Checked Gets a value indicating whether the menu item is checked.
Enabled Gets a value indicating whether the menu item is enabled.
Image Gets the menu item's image.
Items Gets an array of ServerVisualization.MenuItem objects specifying a submenu.
Text Gets the menu item's text.

Methods

Method Description
Execute Executes the menu item.

See Also