ASP.NET Style Control

Definition and Usage

The Style control is used to set the style of web controls.

Property

Property Description .NET
BackColor The background color of the control. 1.0
BorderColor The border color of the control. 1.0
BorderStyle The border style of the control. 1.0
BorderWidth The border width of the control. 1.0
CssClass The cascading style sheet (CSS) class presented by the Web server control on the client side. 1.0
Font The character properties of the control. 1.0
ForeColor The foreground color of the control (usually text color). 1.0
Height The height of the control. 1.0
RegisteredCssClass The cascading style sheet (CSS) class registered to the control. 2.0
Width The width of the control. 1.0