MenuItem Properties

MenuItem Properties

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubpropertyBarBreak

Gets or sets a value indicating whether the MenuItem is placed on a new line (for a menu item added to a MainMenu object) or in a new column (for a submenu item or menu item displayed in a ContextMenu).

System_CAPS_pubpropertyBreak

Gets or sets a value indicating whether the item is placed on a new line (for a menu item added to a MainMenu object) or in a new column (for a menu item or submenu item displayed in a ContextMenu).

System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyChecked

Gets or sets a value indicating whether a check mark appears next to the text of the menu item.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_pubpropertyDefaultItem

Gets or sets a value indicating whether the menu item is the default menu item.

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_pubpropertyEnabled

Gets or sets a value indicating whether the menu item is enabled.

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyHandle

Gets a value representing the window handle for the menu.(Inherited from Menu.)

System_CAPS_pubpropertyIndex

Gets or sets a value indicating the position of the menu item in its parent menu.

System_CAPS_pubpropertyIsParent

Gets a value indicating whether the menu item contains child menu items.(Overrides Menu.IsParent.)

System_CAPS_pubpropertyMdiList

Gets or sets a value indicating whether the menu item will be populated with a list of the Multiple Document Interface (MDI) child windows that are displayed within the associated form.

System_CAPS_pubpropertyMdiListItem

Gets a value indicating the MenuItem that is used to display a list of multiple document interface (MDI) child forms.(Inherited from Menu.)

System_CAPS_protpropertyMenuID

Gets a value indicating the Windows identifier for this menu item.

System_CAPS_pubpropertyMenuItems

Gets a value indicating the collection of MenuItem objects associated with the menu.(Inherited from Menu.)

System_CAPS_pubpropertyMergeOrder

Gets or sets a value indicating the relative position of the menu item when it is merged with another.

System_CAPS_pubpropertyMergeType

Gets or sets a value indicating the behavior of this menu item when its menu is merged with another.

System_CAPS_pubpropertyMnemonic

Gets a value indicating the mnemonic character that is associated with this menu item.

System_CAPS_pubpropertyName

Gets or sets the name of the Menu.(Inherited from Menu.)

System_CAPS_pubpropertyOwnerDraw

Gets or sets a value indicating whether the code that you provide draws the menu item or Windows draws the menu item.

System_CAPS_pubpropertyParent

Gets a value indicating the menu that contains this menu item.

System_CAPS_pubpropertyRadioCheck

Gets or sets a value indicating whether the MenuItem, if checked, displays a radio-button instead of a check mark.

System_CAPS_pubpropertyShortcut

Gets or sets a value indicating the shortcut key associated with the menu item.

System_CAPS_pubpropertyShowShortcut

Gets or sets a value indicating whether the shortcut key that is associated with the menu item is displayed next to the menu item caption.

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

System_CAPS_pubpropertyTag

Gets or sets user-defined data associated with the control.(Inherited from Menu.)

System_CAPS_pubpropertyText

Gets or sets a value indicating the caption of the menu item.

System_CAPS_pubpropertyVisible

Gets or sets a value indicating whether the menu item is visible.

Return to top
Show:
© 2016 Microsoft