![]() ![]() | ||
The buttons in a toolbar are actually ToolBarButton objects. Here is the class hierarchy for the ToolBarButton class:
Object MarshalByRefObject Component ToolBarButton
You can find the notable public properties of ToolBarButton objects in Table 10.15.
Property |
Means |
---|---|
DropDownMenu |
Gets/sets the menu object for a drop-down button. |
Enabled |
Gets/sets if the button is enabled. |
ImageIndex |
Gets/sets the index value of the image for a button. |
Parent |
Gets the toolbar that the button is a child of. |
PartialPush |
Gets/sets whether a toggle toolbar button is partially pushed. |
Pushed |
Gets/sets whether a toggle-style button is pushed. |
Rectangle |
Gets the bounding rectangle for a toolbar button. |
Style |
Gets/sets the style of a button. |
Text |
Gets/sets the text displayed in the button. |
ToolTipText |
Gets/sets the text for a tool tip for the button. |
Visible |
Gets/sets if the toolbar button is visible. |
![]() ![]() | ||