System.Windows.Forms.ToolStrip: Property Members

The properties of System.Windows.Forms.ToolStrip are listed below. For a list of all members, see the ToolStrip Members list.

See Also: Inherited members from System.Windows.Forms.ScrollableControl

Public Properties

override
AllowDropbool.

Gets or sets a value indicating whether drag-and-drop and item reordering are handled through events that you implement.

AllowItemReorderbool.

Gets or sets a value indicating whether drag-and-drop and item reordering are handled privately by the System.Windows.Forms.ToolStrip class.

AllowMergebool.

Gets or sets a value indicating whether multiple System.Windows.Forms.MenuStrip, System.Windows.Forms.ToolStripDropDownMenu, System.Windows.Forms.ToolStripMenuItem, and other types can be combined.

override
AnchorAnchorStyles.

Gets or sets the edges of the container to which a System.Windows.Forms.ToolStrip is bound and determines how a System.Windows.Forms.ToolStrip is resized with its parent.

override
AutoScrollbool.

This property is not relevant for this class.

AutoScrollMarginSystem.Drawing.Size.

This property is not relevant for this class.

AutoScrollMinSizeSystem.Drawing.Size.

This property is not relevant for this class.

AutoScrollPositionSystem.Drawing.Point.

This property is not relevant for this class.

override
AutoSizebool.

Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

BackColorSystem.Drawing.Color.

Gets or sets the background color for the System.Windows.Forms.ToolStrip.

override
BindingContextBindingContext.

Gets or sets the binding context for the System.Windows.Forms.ToolStrip.

CanOverflowbool.

Gets or sets a value indicating whether items in the System.Windows.Forms.ToolStrip can be sent to an overflow menu.

CausesValidationbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStrip causes validation to be performed on any controls that require validation when it receives focus.

[read-only]
ControlsControl.ControlCollection.

This property is not relevant for this class.

override
CursorCursor.

Gets or sets the cursor that is displayed when the mouse pointer is over the System.Windows.Forms.ToolStrip.

DefaultDropDownDirectionToolStripDropDownDirection.

Gets or sets a value representing the default direction in which a System.Windows.Forms.ToolStripDropDown control is displayed relative to the System.Windows.Forms.ToolStrip.

[read-only]
override
DisplayRectangleSystem.Drawing.Rectangle.

Retrieves the current display rectangle.

override
DockDockStyle.

Gets or sets which System.Windows.Forms.ToolStrip borders are docked to its parent control and determines how a System.Windows.Forms.ToolStrip is resized with its parent.

override
FontSystem.Drawing.Font.

Gets or sets the font used to display text in the control.

ForeColorSystem.Drawing.Color.

Gets or sets the foreground color of the System.Windows.Forms.ToolStrip.

[read-only]
GripDisplayStyleToolStripGripDisplayStyle.

Gets the orientation of the System.Windows.Forms.ToolStrip move handle.

GripMarginPadding.

Gets or sets the space around the System.Windows.Forms.ToolStrip move handle.

[read-only]
GripRectangleSystem.Drawing.Rectangle.

Gets the boundaries of the System.Windows.Forms.ToolStrip move handle.

GripStyleToolStripGripStyle.

Gets or sets whether the System.Windows.Forms.ToolStrip move handle is visible or hidden.

[read-only]
HasChildrenbool.

This property is not relevant for this class.

[read-only]
HorizontalScrollHScrollProperties.

This property is not relevant for this class.

ImageListImageList.

Gets or sets the image list that contains the image displayed on a System.Windows.Forms.ToolStrip item.

ImageScalingSizeSystem.Drawing.Size.

Gets or sets the size, in pixels, of an image used on a System.Windows.Forms.ToolStrip.

[read-only]
IsCurrentlyDraggingbool.

Gets a value indicating whether the user is currently moving the System.Windows.Forms.ToolStrip from one System.Windows.Forms.ToolStripContainer to another.

[read-only]
IsDropDownbool.

Gets a value indicating whether a System.Windows.Forms.ToolStrip is a System.Windows.Forms.ToolStripDropDown control.

[read-only]
ItemsToolStripItemCollection.

Gets all the items that belong to a System.Windows.Forms.ToolStrip.

[read-only]
override
LayoutEngineSystem.Windows.Forms.Layout.LayoutEngine.

Passes a reference to the cached Control.LayoutEngine returned by the layout engine interface.

LayoutSettingsLayoutSettings.

Gets or sets layout scheme characteristics.

LayoutStyleToolStripLayoutStyle.

Gets or sets a value indicating how the System.Windows.Forms.ToolStrip lays out the items collection.

[read-only]
OrientationOrientation.

Gets the orientation of the System.Windows.Forms.ToolStripPanel.

[read-only]
OverflowButtonToolStripOverflowButton.

Gets the System.Windows.Forms.ToolStripItem that is the overflow button for a System.Windows.Forms.ToolStrip with overflow enabled.

RendererToolStripRenderer.

Gets or sets a System.Windows.Forms.ToolStripRenderer used to customize the look and feel of a System.Windows.Forms.ToolStrip.

RenderModeToolStripRenderMode.

Gets or sets a value that indicates which visual styles will be applied to the System.Windows.Forms.ToolStrip.

ShowItemToolTipsbool.

Gets or sets a value indicating whether ToolTips are to be displayed on System.Windows.Forms.ToolStrip items.

Stretchbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStrip stretches from end to end in the System.Windows.Forms.ToolStripContainer.

TabStopbool.

Gets or sets a value indicating whether the user can give the focus to an item in the System.Windows.Forms.ToolStrip using the TAB key.

TextDirectionToolStripTextDirection.

Gets or sets the direction in which to draw text on a System.Windows.Forms.ToolStrip.

[read-only]
VerticalScrollVScrollProperties.

This property is not relevant for this class.

Protected Properties

[read-only]
DefaultDockDockStyle.

Gets the docking location of the System.Windows.Forms.ToolStrip, indicating which borders are docked to the container.

[read-only]
DefaultGripMarginPadding.

Gets the default spacing, in pixels, between the sizing grip and the edges of the System.Windows.Forms.ToolStrip.

[read-only]
override
DefaultMarginPadding.

Gets the spacing, in pixels, between the System.Windows.Forms.ToolStrip and the System.Windows.Forms.ToolStripContainer.

[read-only]
override
DefaultPaddingPadding.

Gets the internal spacing, in pixels, of the contents of a System.Windows.Forms.ToolStrip.

[read-only]
DefaultShowItemToolTipsbool.

Gets a value indicating whether ToolTips are shown for the System.Windows.Forms.ToolStrip by default.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the System.Windows.Forms.ToolStrip.

[read-only]
DisplayedItemsToolStripItemCollection.

Gets the subset of items that are currently displayed on the System.Windows.Forms.ToolStrip, including items that are automatically added into the System.Windows.Forms.ToolStrip.

[read-only]
MaxItemSizeSystem.Drawing.Size.

Gets the maximum height and width, in pixels, of the System.Windows.Forms.ToolStrip.