ToolBarButtonCollection Methods |
The Win32ToolBarToolBarButtonCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(String) | Adds a new toolbar button to the end of the toolbar button collection with the specified Text property value. | |
| Add(Win32ToolBarButton) | Adds the specified toolbar button to the end of the toolbar button collection. | |
| AddRange | Adds a collection of toolbar buttons to this toolbar button collection. | |
| Clear | Removes all buttons from the toolbar button collection. | |
| Contains | Determines if the specified toolbar button is a member of the collection. | |
| ContainsKey | Determines if a Win32ToolBarButton with the specified key is contained in the collection. | |
| GetEnumerator | Returns an enumerator that can be used to iterate through the toolbar button collection. | |
| IndexOf | Retrieves the index of the specified toolbar button in the collection. | |
| IndexOfKey | Retrieves the index of the first occurrence of a Win32ToolBarButton with the specified key. | |
| Insert | Inserts an existing toolbar button in the toolbar button collection at the specified location. | |
| Remove | Removes a given button from the toolbar button collection. | |
| RemoveAt | Removes a given button from the toolbar button collection. | |
| RemoveByKey | Removes the Win32ToolBarButton with the specified key from the collection. |