This documentation is archived and is not being maintained.
CssStyleCollection Methods
Visual Studio 2010
The CssStyleCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(HtmlTextWriterStyle, String) | Adds a style item to the CssStyleCollection collection of a control using the specified HtmlTextWriterStyle enumeration value and corresponding value. |
|
Add(String, String) | Adds a style item to the CssStyleCollection of a control using the specified name/value pair. |
|
Clear | Removes all style items from the CssStyleCollection object. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove(HtmlTextWriterStyle) | Removes a style item from the CssStyleCollection collection of a control using the specified HtmlTextWriterStyle enumeration value. |
|
Remove(String) | Removes a style item from the CssStyleCollection of a control using the specified style key. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: