ASP.NET Style Control
Web Server Controls
Definition and Usage
The Style control is used to set the style of a web control.
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 CSS (Cascading Style Sheet) class rendered by the Web server control on the client. | 1.0 |
| Font | The font properties of the control. | 1.0 |
| ForeColor | The foreground color of the control (usually the text color). | 1.0 |
| Height | The height of the control. | 1.0 |
| RegisteredCssClass | The CSS (Cascading Style Sheet) class registered with the control. | 2.0 |
| Width | The width of the control. | 1.0 |
Web Server Controls