NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MenuItem Properties

The properties of the MenuItem class are listed below. For a complete list of MenuItem class members, see the MenuItem Members topic.

Public:

BarBreak Gets or sets a value indicating whether the item is placed on a new line (for a menu item added to a TBD object) or in a new column (for a submenu or menu displayed in a TBD).
Break Gets or sets a value indicating whether the item is placed on a new line (for a menu item added to a TBD object) or in a new column (for a submenu or menu displayed in a TBD).
Checked Gets or sets a value indicating whether a checkmark appears beside the text of the menu item.
DefaultItem Gets or sets a value indicating whether the menu item is the default.
Enabled Gets or sets a value indicating whether the menu item is enabled.
Handle (inherited from Menu) The HMENU handle corresponding to this menu.
Index Gets or sets the menu item's position in its parent menu.
IsParent Gets a value indicating whether the menu item contains child menu items.
MDIList Gets or sets a value indicating whether the menu item will be populated with a list of the MDI child windows that are displayed within the associated form.
MDIListItem (inherited from Menu) The MenuItem that contains the list of MDI child windows.
Menu Gets the menu in which this menu item appears.
MenuItems (inherited from Menu) [To be supplied.]
MergeOrder Gets or sets the relative position the menu item when its menu is merged with another.
MergeType Gets or sets a value that indicates the behavior of this menu item when its menu is merged with another.
OwnerDraw Gets or sets a value indicating whether code that you provide draws the menu item or Windows draws the menu item.
Parent Gets the menu in which this menu item appears.
RadioCheck Gets or sets a value that indicates whether the menu item, if checked, displays a radio-button mark instead of a check mark.
Shortcut Gets or sets the shortcut key associated with the menu item.
ShowShortcut Gets or sets a value that indicates whether the shortcut key that is assocaited with the menu item is displayed next to the menu item caption.
Site (inherited from MarshalByRefComponent) Gets or sets the site of the component.
Text Gets or sets the text of the menu item.
Visible Gets or sets a value that indicates whether the menu item is visible on its parent menu.

Protected:

MenuID Gets the Windows identifier for this menu item.

See Also

MenuItem Class | System.WinForms Namespace