MainMenuItem Class

Represents an item in the main menu.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public class MainMenuItem
Inheritance
Object    MainMenuItem

Constructors

MainMenuItem Default constructor of the MainMenuItem class.

Properties

Checked Determines whether the current main menu item is checked or not.
Click Event to execute by the current main menu item.
Enabled Determines whether the current main menu item is enabled or not.
Image Bitmap icon to display in the main menu item. Usually bitmap is shown at the left of the Text.
Items Children menu items of the current main menu item.
Name Name of the main menu item.
ShortcutKey Keyboard shortcut for the current main menu item.
ShortcutKeyDisplayString Text to display on the current main menu item for the user to shown what ShortcutKey can be used to initiate Click by keyboard.
Size Size of the main menu item.
Tag The main menu item tag.
Text text to display on the main menu item.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also