Click or drag to resize

Win32ToolBarToolBarButtonCollection Class

Encapsulates a collection of Win32ToolBarButton controls for use by the Win32ToolBar class.
Inheritance Hierarchy
SystemObject
  Jam.ShellWin32ToolBarToolBarButtonCollection

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class ToolBarButtonCollection : IList, 
	ICollection, IEnumerable

The Win32ToolBarToolBarButtonCollection type exposes the following members.

Constructors
 NameDescription
Public methodWin32ToolBarToolBarButtonCollectionInitializes a new instance of the Win32ToolBarToolBarButtonCollection class and assigns it to the specified toolbar.
Top
Properties
 NameDescription
Public propertyCountGets the number of buttons in the toolbar button collection.
Public propertyIsReadOnlyGets a value indicating whether the collection is read-only.
Public propertyItemInt32Gets or sets the toolbar button at the specified indexed location in the toolbar button collection.
Public propertyItemStringGets a Win32ToolBarButton with the specified key from the collection.
Top
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