Represents a collection of CSS classes on an element.
Initializes a new instance of the ClassCollection class.
Gets the number of classes.
Adds the class to the collection of it is not already present.
Adds the classes to the collection if they are not already present.
Clears the class collection.
Returns a value indicating whether the specified class is present.
Returns the enumerator.
Returns the index of the specified class if it is present; otherwise -1.
Inserts the class at the specified index.
Removes the specified class.
Removes the class at the specified index.
Returns a space separated string of all of the classes.