Export (0) Print
Expand All

ToolBar.ToolBarButtonCollection Methods

The ToolBar.ToolBarButtonCollection type exposes the following members.

  Name Description
Public method Add(String) Adds a new toolbar button to the end of the toolbar button collection with the specified ToolBarButton.Text property value.
Public method Add(ToolBarButton) Adds the specified toolbar button to the end of the toolbar button collection.
Public method AddRange Adds a collection of toolbar buttons to this toolbar button collection.
Public method Clear Removes all buttons from the toolbar button collection.
Public method Contains Determines if the specified toolbar button is a member of the collection.
Public method ContainsKey Determines if a ToolBarButton with the specified key is contained in the collection.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to iterate through the toolbar button collection.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Retrieves the index of the specified toolbar button in the collection.
Public method IndexOfKey Retrieves the index of the first occurrence of a ToolBarButton with the specified key.
Public method Insert Inserts an existing toolbar button in the toolbar button collection at the specified location.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes a given button from the toolbar button collection.
Public method RemoveAt Removes a given button from the toolbar button collection.
Public method RemoveByKey Removes the ToolBarButton with the specified key from the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel() Overloaded. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable() Overloaded. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Cast<TResult>() Overloaded. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Infrastructure. Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetation Private method IList.Add Infrastructure. Adds the specified toolbar button to the end of the toolbar button collection.
Explicit interface implemetation Private method IList.Contains Infrastructure. Determines whether the collection contains a specific value.
Explicit interface implemetation Private method IList.IndexOf Infrastructure. Determines the index of a specific item in the collection.
Explicit interface implemetation Private method IList.Insert Infrastructure. Inserts an existing toolbar button in the toolbar button collection at the specified location.
Explicit interface implemetation Private method IList.Remove Infrastructure. Removes the first occurrence of an item from the collection.
Top
Show:
© 2014 Microsoft