As discussed in the In Depth section of this chapter, this is the ToolBar Class; here is the hierarchy of this class:
Object MarshalByRefObject Component Control ToolBar
You can find the notable public properties of ToolBar objects in Table 10.13, and the notable public events in Table 10.14. Note that I'm omitting the properties, methods, and events toolbars inherit from the Control class, which you can find in Chapter 5, Tables 5.1, 5.2, and 5.3.
Property |
Means |
---|---|
Appearance |
Gets/sets the toolbar's appearance. |
AutoSize |
Gets/sets whether the toolbar can change its size automatically. |
BorderStyle |
Gets/sets the toolbar's border style. |
Buttons |
Gets the collection of buttons in the toolbar. |
ButtonSize |
Gets/sets the size of buttons in the toolbar. |
Divider |
Gets/sets whether the toolbar shows a divider. |
DropDownArrows |
Gets/sets if drop-down buttons display down arrows. |
ImageList |
Gets/sets the collection of images for the toolbar buttons. |
ImageSize |
Gets the size of the images in the image list assigned to the toolbar. |
ShowToolTips |
Gets/sets if the toolbar displays a tool tip for each button. |
TextAlign |
Gets/sets the alignment of text in the toolbar button controls. |
Wrappable |
Gets/sets if toolbar buttons wrap to the next line as needed. |
Event |
Means |
---|---|
ButtonClick |
Occurs when a button in the toolbar is clicked. |
ButtonDropDown |
Occurs when a drop-down button or its down arrow is clicked. |