Click or drag to resize

ToolBarButtonCollection Methods

The Win32ToolBarToolBarButtonCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd(String)
Adds a new toolbar button to the end of the toolbar button collection with the specified Text property value.
Public methodAdd(Win32ToolBarButton)
Adds the specified toolbar button to the end of the toolbar button collection.
Public methodAddRange
Adds a collection of toolbar buttons to this toolbar button collection.
Public methodClear
Removes all buttons from the toolbar button collection.
Public methodContains
Determines if the specified toolbar button is a member of the collection.
Public methodContainsKey
Determines if a Win32ToolBarButton with the specified key is contained in the collection.
Public methodGetEnumerator
Returns an enumerator that can be used to iterate through the toolbar button collection.
Public methodIndexOf
Retrieves the index of the specified toolbar button in the collection.
Public methodIndexOfKey
Retrieves the index of the first occurrence of a Win32ToolBarButton with the specified key.
Public methodInsert
Inserts an existing toolbar button in the toolbar button collection at the specified location.
Public methodRemove
Removes a given button from the toolbar button collection.
Public methodRemoveAt
Removes a given button from the toolbar button collection.
Public methodRemoveByKey
Removes the Win32ToolBarButton with the specified key from the collection.
Top
See Also