CssStyleCollection::Add Method

 

Adds a style item to the CssStyleCollection of a control.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodAdd(HtmlTextWriterStyle, String^)

Adds a style item to the CssStyleCollection collection of a control using the specified HtmlTextWriterStyle enumeration value and corresponding value.

System_CAPS_pubmethodAdd(String^, String^)

Adds a style item to the CssStyleCollection of a control using the specified name/value pair.

Return to top
Show: