System.Windows.Forms.ToolBar: Property Members

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

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

Public Properties

AppearanceToolBarAppearance.

Gets or set the value that determines the appearance of a toolbar control and its buttons.

override
AutoSizebool.

Gets or sets a value indicating whether the toolbar adjusts its size automatically, based on the size of the buttons and the dock style.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color.

override
BackgroundImageSystem.Drawing.Image.

Gets or sets the background image.

override
BackgroundImageLayoutImageLayout.

Gets or sets the layout for background image.

BorderStyleBorderStyle.

Gets or sets the border style of the toolbar control.

[read-only]
ButtonsToolBar.ToolBarButtonCollection.

Gets the collection of System.Windows.Forms.ToolBarButton controls assigned to the toolbar control.

ButtonSizeSystem.Drawing.Size.

Gets or sets the size of the buttons on the toolbar control.

Dividerbool.

Gets or sets a value indicating whether the toolbar displays a divider.

override
DockDockStyle.

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

DropDownArrowsbool.

Gets or sets a value indicating whether drop-down buttons on a toolbar display down arrows.

override
ForeColorSystem.Drawing.Color.

Gets or sets the forecolor .

ImageListImageList.

Gets or sets the collection of images available to the toolbar button controls.

[read-only]
ImageSizeSystem.Drawing.Size.

Gets the size of the images in the image list assigned to the toolbar.

ImeModeImeMode.

This member is not meaningful for this control.

override
RightToLeftRightToLeft.

This member is not meaningful for this control.

ShowToolTipsbool.

Gets or sets a value indicating whether the toolbar displays a ToolTip for each button.

TabStopbool.

This property is not meaningful for this control.

override
Textstring.

Gets or sets the text for the toolbar.

TextAlignToolBarTextAlign.

Gets or sets the alignment of text in relation to each image displayed on the toolbar button controls.

Wrappablebool.

Gets or sets a value indicating whether the toolbar buttons wrap to the next line if the toolbar becomes too small to display all the buttons on the same line.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

Gets the required creation parameters when the control handle is created.

[read-only]
override
DefaultImeModeImeMode.

Gets the default Input Method Editor (IME) mode supported by this control.

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

Gets the default size of the control.

override
DoubleBufferedbool.

This member is not meaningful for this control.