Export (0) Print
Expand All

ToolStripMenuItem Properties

The ToolStripMenuItem type exposes the following members.

  Name Description
Public property AccessibilityObject Gets the AccessibleObject assigned to the control. (Inherited from ToolStripItem.)
Public property AccessibleDefaultActionDescription Gets or sets the default action description of the control for use by accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleDescription Gets or sets the description that will be reported to accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleName Gets or sets the name of the control for use by accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleRole Gets or sets the accessible role of the control, which specifies the type of user interface element of the control. (Inherited from ToolStripItem.)
Public property Alignment Gets or sets a value indicating whether the item aligns towards the beginning or end of the ToolStrip. (Inherited from ToolStripItem.)
Public property AllowDrop Gets or sets a value indicating whether drag-and-drop and item reordering are handled through events that you implement. (Inherited from ToolStripItem.)
Public property Anchor Gets or sets the edges of the container to which a ToolStripItem is bound and determines how a ToolStripItem is resized with its parent. (Inherited from ToolStripItem.)
Public property AutoSize Gets or sets a value indicating whether the item is automatically sized. (Inherited from ToolStripItem.)
Public property AutoToolTip Gets or sets a value indicating whether to use the Text property or the ToolTipText property for the ToolStripItem ToolTip. (Inherited from ToolStripItem.)
Public property Available Gets or sets a value indicating whether the ToolStripItem should be placed on a ToolStrip. (Inherited from ToolStripItem.)
Public property BackColor Gets or sets the background color for the item. (Inherited from ToolStripItem.)
Public property BackgroundImage Gets or sets the background image displayed in the item. (Inherited from ToolStripItem.)
Public property BackgroundImageLayout Gets or sets the background image layout used for the ToolStripItem. (Inherited from ToolStripItem.)
Public property Bounds Gets the size and location of the item. (Inherited from ToolStripItem.)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property CanSelect Gets a value indicating whether the item can be selected. (Inherited from ToolStripItem.)
Public property Checked Gets or sets a value indicating whether the ToolStripMenuItem is checked.
Public property CheckOnClick Gets or sets a value indicating whether the ToolStripMenuItem should automatically appear checked and unchecked when clicked.
Public property CheckState Gets or sets a value indicating whether a ToolStripMenuItem is in the checked, unchecked, or indeterminate state.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property ContentRectangle Gets the area where content, such as text and icons, can be placed within a ToolStripItem without overwriting background borders. (Inherited from ToolStripItem.)
Protected property DefaultAutoToolTip Gets a value indicating whether to display the ToolTip that is defined as the default. (Inherited from ToolStripItem.)
Protected property DefaultDisplayStyle Gets a value indicating what is displayed on the ToolStripItem. (Inherited from ToolStripItem.)
Protected property DefaultMargin Gets the spacing between the ToolStripMenuItem and an adjacent item. (Overrides ToolStripItem.DefaultMargin.)
Protected property DefaultPadding Gets the internal spacing within the ToolStripMenuItem. (Overrides ToolStripItem.DefaultPadding.)
Protected property DefaultSize Gets the default size of the ToolStripMenuItem. (Overrides ToolStripItem.DefaultSize.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property DismissWhenClicked Gets a value indicating whether items on a ToolStripDropDown are hidden after they are clicked. (Inherited from ToolStripItem.)
Public property DisplayStyle Gets or sets whether text and images are displayed on a ToolStripItem. (Inherited from ToolStripItem.)
Public property Dock Gets or sets which ToolStripItem borders are docked to its parent control and determines how a ToolStripItem is resized with its parent. (Inherited from ToolStripItem.)
Public property DoubleClickEnabled Gets or sets a value indicating whether the ToolStripItem can be activated by double-clicking the mouse. (Inherited from ToolStripItem.)
Public property DropDown Gets or sets the ToolStripDropDown that will be displayed when this ToolStripDropDownItem is clicked. (Inherited from ToolStripDropDownItem.)
Public property DropDownDirection Gets or sets a value indicating the direction in which the ToolStripDropDownItem emerges from its parent container. (Inherited from ToolStripDropDownItem.)
Public property DropDownItems Gets the collection of items in the ToolStripDropDown that is associated with this ToolStripDropDownItem. (Inherited from ToolStripDropDownItem.)
Protected property DropDownLocation Gets the screen coordinates, in pixels, of the upper-left corner of the ToolStripDropDownItem. (Inherited from ToolStripDropDownItem.)
Public property Enabled Gets or sets a value indicating whether the control is enabled. (Overrides ToolStripItem.Enabled.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Font Gets or sets the font of the text displayed by the item. (Inherited from ToolStripItem.)
Public property ForeColor Gets or sets the foreground color of the item. (Inherited from ToolStripItem.)
Public property HasDropDown Gets or sets a value that indicates whether the DropDown for the ToolStripDropDownItem has been created. (Inherited from ToolStripDropDownItem.)
Public property HasDropDownItems Gets a value indicating whether the ToolStripDropDownItem has ToolStripDropDown controls associated with it. (Inherited from ToolStripDropDownItem.)
Public property Height Gets or sets the height, in pixels, of a ToolStripItem. (Inherited from ToolStripItem.)
Public property Image Gets or sets the image that is displayed on a ToolStripItem. (Inherited from ToolStripItem.)
Public property ImageAlign Gets or sets the alignment of the image on a ToolStripItem. (Inherited from ToolStripItem.)
Public property ImageIndex Gets or sets the index value of the image that is displayed on the item. (Inherited from ToolStripItem.)
Public property ImageKey Gets or sets the key accessor for the image in the ImageList that is displayed on a ToolStripItem. (Inherited from ToolStripItem.)
Public property ImageScaling Gets or sets a value indicating whether an image on a ToolStripItem is automatically resized to fit in a container. (Inherited from ToolStripItem.)
Public property ImageTransparentColor Gets or sets the color to treat as transparent in a ToolStripItem image. (Inherited from ToolStripItem.)
Public property IsDisposed Gets a value indicating whether the object has been disposed of. (Inherited from ToolStripItem.)
Public property IsMdiWindowListEntry Gets a value indicating whether the ToolStripMenuItem appears on a multiple document interface (MDI) window list.
Public property IsOnDropDown Gets a value indicating whether the container of the current Control is a ToolStripDropDown. (Inherited from ToolStripItem.)
Public property IsOnOverflow Gets a value indicating whether the Placement property is set to Overflow. (Inherited from ToolStripItem.)
Public property Margin Gets or sets the space between the item and adjacent items. (Inherited from ToolStripItem.)
Public property MergeAction Gets or sets how child menus are merged with parent menus. (Inherited from ToolStripItem.)
Public property MergeIndex Gets or sets the position of a merged item within the current ToolStrip. (Inherited from ToolStripItem.)
Public property Name Gets or sets the name of the item. (Inherited from ToolStripItem.)
Public property Overflow Gets or sets a value indicating whether the ToolStripMenuItem is attached to the ToolStrip or the ToolStripOverflowButton or whether it can float between the two.
Public property Owner Gets or sets the owner of this item. (Inherited from ToolStripItem.)
Public property OwnerItem Gets the parent ToolStripItem of this ToolStripItem. (Inherited from ToolStripItem.)
Public property Padding Gets or sets the internal spacing, in pixels, between the item's contents and its edges. (Inherited from ToolStripItem.)
Protected property Parent Gets or sets the parent container of the ToolStripItem. (Inherited from ToolStripItem.)
Public property Placement Gets the current layout of the item. (Inherited from ToolStripItem.)
Public property Pressed Gets a value indicating whether the ToolStripDropDownItem is in the pressed state. (Inherited from ToolStripDropDownItem.)
Public property RightToLeft Gets or sets a value indicating whether items are to be placed from right to left and text is to be written from right to left. (Inherited from ToolStripItem.)
Public property RightToLeftAutoMirrorImage Mirrors automatically the ToolStripItem image when the RightToLeft property is set to Yes. (Inherited from ToolStripItem.)
Public property Selected Gets a value indicating whether the item is selected. (Inherited from ToolStripItem.)
Public property ShortcutKeyDisplayString Gets or sets the shortcut key text.
Public property ShortcutKeys Gets or sets the shortcut keys associated with the ToolStripMenuItem.
Protected property ShowKeyboardCues Gets a value indicating whether to show or hide shortcut keys. (Inherited from ToolStripItem.)
Public property ShowShortcutKeys Gets or sets a value indicating whether the shortcut keys that are associated with the ToolStripMenuItem are displayed next to the ToolStripMenuItem.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Size Gets or sets the size of the item. (Inherited from ToolStripItem.)
Public property Tag Gets or sets the object that contains data about the item. (Inherited from ToolStripItem.)
Public property Text Gets or sets the text that is to be displayed on the item. (Inherited from ToolStripItem.)
Public property TextAlign Gets or sets the alignment of the text on a ToolStripLabel. (Inherited from ToolStripItem.)
Public property TextDirection Gets the orientation of text used on a ToolStripItem. (Inherited from ToolStripItem.)
Public property TextImageRelation Gets or sets the position of ToolStripItem text and image relative to each other. (Inherited from ToolStripItem.)
Public property ToolTipText Gets or sets the text that appears as a ToolTip for a control. (Inherited from ToolStripItem.)
Public property Visible Gets or sets a value indicating whether the item is displayed. (Inherited from ToolStripItem.)
Public property Width Gets or sets the width in pixels of a ToolStripItem. (Inherited from ToolStripItem.)
Top
Show:
© 2014 Microsoft