New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Web.UI.CssStyleWriter

Collects style definitions and renderes them on the System.Web.UI.HtmlTextWriter . This class acts as a thin wrapper on top of the System.Web.UI.HtmlTextWriter .

Inheritance Hierarchy

  • System.Object
  • Telerik.Web.UI.CssStyleWriter

Methods

AddStyle

Adds the next style to the colleciton

Parameters

name System.String

The name of the style

value System.String

The value that is related to the CSS style name

Returns

System.Void

WriteAttribute

Writes the styles as an attribute to the .

Returns

System.Void