CssStyleCollection.Remove Method (String)
.NET Framework (current version)
Removes a style item from the CssStyleCollection of a control using the specified style key.
Assembly: System.Web (in System.Web.dll)
Parameters
- key
-
Type:
System.String
The string literal of the style item to remove.
The following example demonstrates how to use the Remove method to programmatically delete a CSS style from an HtmlSelect control.
.NET Framework
Available since 1.1
Available since 1.1
Show: