This documentation is archived and is not being maintained.

CssStyleCollection Properties

The properties of the CssStyleCollection class are listed here. For a complete list of CssStyleCollection class members, see the CssStyleCollection Members topic.

Public Properties

public propertyCount Gets the number of items in the CssStyleCollection object.
public propertyItem Gets or sets a specified CSS value for the specified HTML server control.

In C#, this property is the indexer for the CssStyleCollection class.

public propertyKeys Gets a collection of keys to all the styles in the CssStyleCollection object for a specific HTML server control.

See Also

CssStyleCollection Class | System.Web.UI Namespace