Represents a collection of Style objects.
Assembly: System.Web (in System.Web.dll)
Appends a specified Style object to the end of the object.
Determines whether the specified style is contained within the collection.
Copies the elements of the Style array, starting at the specified index of the target array.to a one-dimensional
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns the index of the specified Style object within the collection.
Inserts a specified Style object into the at the specified index location.
Removes the specified Style object from the object.
Removes the Style object at the specified index location from the object.
Returns a string that represents the current object.(Inherited from Object.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
Use the Style objects for a control. Control developers can use this class to contain a set of styles that apply to different portions of the control.class to store and manage
The collection dynamically increases in size as objects are added. Indexes in this collection are zero-based. Use the Count property to determine how many objects are in the collection.
Additionally, use themethods and properties to provide the following functionality:
The Add method to add a single style to the collection.
The Insert method to add a style at a particular index within the collection.
The Remove method to remove a style from the collection.
The RemoveAt method to remove the style located at a particular index.
The Contains method to determine whether a particular style is already in the collection.
The IndexOf method to retrieve the index of a style within the collection.
The Clear method to remove all the styles from the collection.
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.