CssStyleCollection.Clear Method ()
.NET Framework (current version)
Removes all style items from the CssStyleCollection object.
Assembly: System.Web (in System.Web.dll)
The following example demonstrates how to use the Clear method to programmatically delete all CSS styles from an HtmlSelect control.
.NET Framework
Available since 1.1
Available since 1.1
Show: