System.Web.UI.AttributeCollection.CssStyle Property

Gets a collection of styles for the ASP.NET server control to which the current System.Web.UI.AttributeCollection object belongs.

Syntax

public CssStyleCollection CssStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Any style declared for a particular HTML server control is added to the System.Web.UI.CssStyleCollection object when the containing ASP.NET Web page is parsed. You can use this property to add, remove, and iterate through the styles declared for the server control.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0