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 methodAddRangeAdds a collection of toolbar buttons to this toolbar button collection.
Public methodClearRemoves all buttons from the toolbar button collection.
Public methodContainsDetermines if the specified toolbar button is a member of the collection.
Public methodContainsKeyDetermines if a Win32ToolBarButton with the specified key is contained in the collection.
Public methodGetEnumeratorReturns an enumerator that can be used to iterate through the toolbar button collection.
Public methodIndexOfRetrieves the index of the specified toolbar button in the collection.
Public methodIndexOfKeyRetrieves the index of the first occurrence of a Win32ToolBarButton with the specified key.
Public methodInsertInserts an existing toolbar button in the toolbar button collection at the specified location.
Public methodRemoveRemoves a given button from the toolbar button collection.
Public methodRemoveAtRemoves a given button from the toolbar button collection.
Public methodRemoveByKeyRemoves the Win32ToolBarButton with the specified key from the collection.
Top
See Also