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.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public class ToolBarButtonCollection : IList, 
	ICollection, IEnumerable

The Win32ToolBarToolBarButtonCollection type exposes the following members.

Constructors
  NameDescription
Public methodWin32ToolBarToolBarButtonCollection
Initializes a new instance of the Win32ToolBarToolBarButtonCollection class and assigns it to the specified toolbar.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of buttons in the toolbar button collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItemInt32
Gets or sets the toolbar button at the specified indexed location in the toolbar button collection.
Public propertyItemString
Gets 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 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