Open topic with navigation

IToolBarItem Interface
A single tool bar item or menu item of a .NET Windows Forms tool bar.

C# Syntax

    public interface IToolBarItem

Public Properties

| Name | Description
--- | --- | ---
| HasEllipses | Indicates whether this toolbar item's text is truncated and an ellipsis (...) is displayed.
| Index | The 0-based index number of this toolbar item. The index does not include hidden and separator buttons.
| IsChecked | Indicates whether a toggle push button is currently selected (pushed).
| IsEnabled | Indicates whether this toolbar item can accept user input.
| IsHidden | Indicates whether this item is not visible and therefore cannot accept user input.
| IsHighlighted | Indicates whether this toolbar item is surrounded by a dotted line.
| IsHot | Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
| IsIndeterminate | Indicates that this control is neither checked nor unchecked. An indeterminate control generally has a shaded appearance.
| IsMarked | Indicates whether this toolbar item is marked. The interpretation of a marked button is application dependent.
| IsPressed | Indicates whether this toolbar item is currently being clicked.
| IsWrap | Indicates whether this toolbar item is followed by a line break.
| Name | The name of this toolbar item.

Top
Public Methods

| Name | Description
--- | --- | ---
| Press | Presses this toolbar item.

Top