Click or drag to resize

MenuItem Properties

The MenuItem type exposes the following members.

Properties
  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChecked
Gets or sets a value indicating whether a check mark appears next to the text of the menu item.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyDockToRight
Gets or sets a value indicating whether the menu item is docked to the right side of the MainMenu.
Public propertyEnabled
Gets or sets a value indicating whether the menu item is enabled.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyImage
Gets or sets an image displayed in the menu item when it is not pressed.
Public propertyImageSelected
Gets or sets an image displayed in the menu item when it is pressed.
Public propertyIndex
Gets or sets a value indicating the position of the menu item in its parent menu.
Public propertyIsParent
Gets a value indicating whether this menu contains any menu items.
(Inherited from Menu.)
Public propertyMenuItems
Gets a value indicating the collection of MenuItem objects associated with the menu.
(Inherited from Menu.)
Public propertyParent
Gets a value indicating the menu that contains this menu item.
Public propertyPressed
Gets or sets a value indicating whether the menu is pressed or not.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyText
Gets or sets a value indicating the caption of the menu item.
Public propertyToggle
Gets or sets a value indicating whether the menu item works as a toggle button.
Public propertyWidth
Gets or sets a value indicating the width of the menu item.
Top
See Also