The properties of System.Windows.Forms.ToolStripItem are listed below. For a list of all members, see the ToolStripItem Members list.
See Also: Inherited members from System.ComponentModel.Component
[read-only] | AccessibilityObject | AccessibleObject.
Gets the System.Windows.Forms.AccessibleObject assigned to the control. |
AccessibleDefaultActionDescription | string.
Gets or sets the default action description of the control for use by accessibility client applications. | |
AccessibleDescription | string.
Gets or sets the description that will be reported to accessibility client applications. | |
AccessibleName | string.
Gets or sets the name of the control for use by accessibility client applications. | |
AccessibleRole | AccessibleRole.
Gets or sets the accessible role of the control, which specifies the type of user interface element of the control. | |
Alignment | ToolStripItemAlignment.
Gets or sets a value indicating whether the item aligns towards the beginning or end of the System.Windows.Forms.ToolStrip. | |
AllowDrop | bool.
Gets or sets a value indicating whether drag-and-drop and item reordering are handled through events that you implement. | |
Anchor | AnchorStyles.
Gets or sets the edges of the container to which a System.Windows.Forms.ToolStripItem is bound and determines how a System.Windows.Forms.ToolStripItem is resized with its parent. | |
AutoSize | bool.
Gets or sets a value indicating whether the item is automatically sized. | |
AutoToolTip | bool.
Gets or sets a value indicating whether to use the ToolStripItem.Text property or the ToolStripItem.ToolTipText property for the System.Windows.Forms.ToolStripItem ToolTip. | |
Available | bool.
Gets or sets a value indicating whether the System.Windows.Forms.ToolStripItem should be placed on a System.Windows.Forms.ToolStrip. | |
BackColor | System.Drawing.Color.
Gets or sets the background color for the item. | |
BackgroundImage | System.Drawing.Image.
Gets or sets the background image displayed in the item. | |
BackgroundImageLayout | ImageLayout.
Gets or sets the background image layout used for the System.Windows.Forms.ToolStripItem. | |
[read-only] | Bounds | System.Drawing.Rectangle.
Gets the size and location of the item. |
[read-only] | CanSelect | bool.
Gets a value indicating whether the item can be selected. |
[read-only] | ContentRectangle | System.Drawing.Rectangle.
Gets the area where content, such as text and icons, can be placed within a System.Windows.Forms.ToolStripItem without overwriting background borders. |
DisplayStyle | ToolStripItemDisplayStyle.
Gets or sets whether text and images are displayed on a System.Windows.Forms.ToolStripItem. | |
Dock | DockStyle.
Gets or sets which System.Windows.Forms.ToolStripItem borders are docked to its parent control and determines how a System.Windows.Forms.ToolStripItem is resized with its parent. | |
DoubleClickEnabled | bool.
Gets or sets a value indicating whether the System.Windows.Forms.ToolStripItem can be activated by double-clicking the mouse. | |
Enabled | bool.
Gets or sets a value indicating whether the parent control of the System.Windows.Forms.ToolStripItem is enabled. | |
Font | System.Drawing.Font.
Gets or sets the font of the text displayed by the item. | |
ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the item. | |
Height | int.
Gets or sets the height, in pixels, of a System.Windows.Forms.ToolStripItem. | |
Image | System.Drawing.Image.
Gets or sets the image that is displayed on a System.Windows.Forms.ToolStripItem. | |
ImageAlign | System.Drawing.ContentAlignment.
Gets or sets the alignment of the image on a System.Windows.Forms.ToolStripItem. | |
ImageIndex | int.
Gets or sets the index value of the image that is displayed on the item. | |
ImageKey | string.
Gets or sets the key accessor for the image in the ToolStrip.ImageList that is displayed on a System.Windows.Forms.ToolStripItem. | |
ImageScaling | ToolStripItemImageScaling.
Gets or sets a value indicating whether an image on a System.Windows.Forms.ToolStripItem is automatically resized to fit in a container. | |
ImageTransparentColor | System.Drawing.Color.
Gets or sets the color to treat as transparent in a System.Windows.Forms.ToolStripItem image. | |
[read-only] | IsDisposed | bool.
Gets a value indicating whether the object has been disposed of. |
[read-only] | IsOnDropDown | bool.
Gets a value indicating whether the container of the current System.Windows.Forms.Control is a System.Windows.Forms.ToolStripDropDown. |
[read-only] | IsOnOverflow | bool.
Gets a value indicating whether the ToolStripItem.Placement property is set to ToolStripItemPlacement.Overflow. |
Margin | Padding.
Gets or sets the space between the item and adjacent items. | |
MergeAction | MergeAction.
Gets or sets how child menus are merged with parent menus. | |
MergeIndex | int.
Gets or sets the position of a merged item within the current System.Windows.Forms.ToolStrip. | |
Name | string.
Gets or sets the name of the item. | |
Overflow | ToolStripItemOverflow.
Gets or sets whether the item is attached to the System.Windows.Forms.ToolStrip or System.Windows.Forms.ToolStripOverflowButton or can float between the two. | |
Owner | ToolStrip.
Gets or sets the owner of this item. | |
[read-only] | OwnerItem | ToolStripItem.
Gets the parent System.Windows.Forms.ToolStripItem of this System.Windows.Forms.ToolStripItem. |
Padding | Padding.
Gets or sets the internal spacing, in pixels, between the item's contents and its edges. | |
[read-only] | Placement | ToolStripItemPlacement.
Gets the current layout of the item. |
[read-only] | Pressed | bool.
Gets a value indicating whether the state of the item is pressed. |
RightToLeft | 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. | |
RightToLeftAutoMirrorImage | bool.
Mirrors automatically the System.Windows.Forms.ToolStripItem image when the ToolStripItem.RightToLeft property is set to RightToLeft.Yes. | |
[read-only] | Selected | bool.
Gets a value indicating whether the item is selected. |
Size | System.Drawing.Size.
Gets or sets the size of the item. | |
Tag | object.
Gets or sets the object that contains data about the item. | |
Text | string.
Gets or sets the text that is to be displayed on the item. | |
TextAlign | System.Drawing.ContentAlignment.
Gets or sets the alignment of the text on a System.Windows.Forms.ToolStripLabel. | |
TextDirection | ToolStripTextDirection.
Gets the orientation of text used on a System.Windows.Forms.ToolStripItem. | |
TextImageRelation | TextImageRelation.
Gets or sets the position of System.Windows.Forms.ToolStripItem text and image relative to each other. | |
ToolTipText | string.
Gets or sets the text that appears as a System.Windows.Forms.ToolTip for a control. | |
Visible | bool.
Gets or sets a value indicating whether the item is displayed. | |
Width | int.
Gets or sets the width in pixels of a System.Windows.Forms.ToolStripItem. |
[read-only] | DefaultAutoToolTip | bool.
Gets a value indicating whether to display the System.Windows.Forms.ToolTip that is defined as the default. |
[read-only] | DefaultDisplayStyle | ToolStripItemDisplayStyle.
Gets a value indicating what is displayed on the System.Windows.Forms.ToolStripItem. |
[read-only] | DefaultMargin | Padding.
Gets the default margin of an item. |
[read-only] | DefaultPadding | Padding.
Gets the internal spacing characteristics of the item. |
[read-only] | DefaultSize | System.Drawing.Size.
Gets the default size of the item. |
[read-only] | DismissWhenClicked | bool.
Gets a value indicating whether items on a System.Windows.Forms.ToolStripDropDown are hidden after they are clicked. |
Parent | ToolStrip.
Gets or sets the parent container of the System.Windows.Forms.ToolStripItem. | |
[read-only] | ShowKeyboardCues | bool.
Gets a value indicating whether to show or hide shortcut keys. |