Version

BrushCollection Class Members

The following tables list the members exposed by BrushCollection.

Public Constructors
 NameDescription
Public ConstructorBrushCollection ConstructorInitializes a new BrushCollection.  
Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public PropertyInterpolationModeSets or gets the interpolation mode used to interpolate brushes.  
Public PropertyItemGets or sets a brush at the specified index.  
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodEqualsDetermines if a BrushCollection is equivalent to another.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodRemoveRemoves the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public MethodSelectRandomReturns a random brush in the collection.  
Protected Methods
 NameDescription
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Brush>)
Public Events
See Also