The members of System.Windows.Forms.ToolStripItem are listed below.
See Also: Inherited members from System.ComponentModel.Component
Initializes a new instance of the System.Windows.Forms.ToolStripItem class. | ||
Initializes a new instance of the System.Windows.Forms.ToolStripItem class with the specified name, image, and event handler. | ||
Initializes a new instance of the System.Windows.Forms.ToolStripItem class with the specified display text, image, event handler, and name. |
| [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. |
DoDragDrop(object, DragDropEffects)
| ||
GetCurrentParent()
| ||
GetPreferredSize(System.Drawing.Size)
| ||
Invalidate()
| ||
Invalidate(System.Drawing.Rectangle)
| ||
PerformClick()
| ||
ResetBackColor()
| ||
ResetDisplayStyle()
| ||
ResetFont()
| ||
ResetForeColor()
| ||
ResetImage()
| ||
ResetMargin()
| ||
ResetPadding()
| ||
ResetRightToLeft()
| ||
ResetTextDirection()
| ||
Select()
| ||
override | ToString()Documentation for this section has not yet been entered. | |
| AvailableChanged |
Occurs when the value of the ToolStripItem.Available property changes. | |
| BackColorChanged |
Occurs when the value of the ToolStripItem.BackColor property changes. | |
| Click |
Occurs when the System.Windows.Forms.ToolStripItem is clicked. | |
| DisplayStyleChanged |
Occurs when the ToolStripItem.DisplayStyle has changed. | |
| DoubleClick |
Occurs when the item is double-clicked with the mouse. | |
| DragDrop |
Occurs when the user drags an item and the user releases the mouse button, indicating that the item should be dropped into this item. | |
| DragEnter |
Occurs when the user drags an item into the client area of this item. | |
| DragLeave |
Occurs when the user drags an item and the mouse pointer is no longer over the client area of this item. | |
| DragOver |
Occurs when the user drags an item over the client area of this item. | |
| EnabledChanged |
Occurs when the ToolStripItem.Enabled property value has changed. | |
| ForeColorChanged |
Occurs when the ToolStripItem.ForeColor property value changes. | |
| GiveFeedback |
Occurs during a drag operation. | |
| LocationChanged |
Occurs when the location of a System.Windows.Forms.ToolStripItem is updated. | |
| MouseDown |
Occurs when the mouse pointer is over the item and a mouse button is pressed. | |
| MouseEnter |
Occurs when the mouse pointer enters the item. | |
| MouseHover |
Occurs when the mouse pointer hovers over the item. | |
| MouseLeave |
Occurs when the mouse pointer leaves the item. | |
| MouseMove |
Occurs when the mouse pointer is moved over the item. | |
| MouseUp |
Occurs when the mouse pointer is over the item and a mouse button is released. | |
| OwnerChanged |
Occurs when the ToolStripItem.Owner property changes. | |
| Paint |
Occurs when the item is redrawn. | |
| QueryAccessibilityHelp |
Occurs when an accessibility client application invokes help for the System.Windows.Forms.ToolStripItem. | |
| QueryContinueDrag |
Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled. | |
| RightToLeftChanged |
Occurs when the ToolStripItem.RightToLeft property value changes. | |
| TextChanged |
Occurs when the value of the ToolStripItem.Text property changes. | |
| VisibleChanged |
Occurs when the value of the ToolStripItem.Visible property changes. |
| System.Windows.Forms.IDropTarget.OnDragDrop |
Raises the ToolStripItem.DragDrop event. | |
| System.Windows.Forms.IDropTarget.OnDragEnter |
Raises the ToolStripItem.DragEnter event. | |
| System.Windows.Forms.IDropTarget.OnDragLeave |
Raises the ToolStripItem.DragLeave event. | |
| System.Windows.Forms.IDropTarget.OnDragOver |
Raises the DragOver event. |