Style Properties
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | BackColor | Gets or sets the background color of the Web server control. |
![]() | BorderColor | Gets or sets the border color of the Web server control. |
![]() | BorderStyle | Gets or sets the border style of the Web server control. |
![]() | BorderWidth | Gets or sets the border width of the Web server control. |
![]() | CanRaiseEvents | Gets a value indicating whether the component can raise an event.(Inherited from Component.) |
![]() | Container | Gets the IContainer that contains the Component.(Inherited from Component.) |
![]() | CssClass | Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. |
![]() | DesignMode | |
![]() | Events | |
![]() | Font | Gets the font properties associated with the Web server control. |
![]() | ForeColor | Gets or sets the foreground color (typically the color of the text) of the Web server control. |
![]() | Height | Gets or sets the height of the Web server control. |
![]() | IsEmpty | This API supports the product infrastructure and is not intended to be used directly from your code. A protected property. Gets a value indicating whether any style elements have been defined in the state bag. |
![]() | IsTrackingViewState | Returns a value indicating whether any style elements have been defined in the state bag. |
![]() | RegisteredCssClass | Gets the cascading style sheet (CSS) class that is registered with the control. |
![]() | Site | |
![]() | ViewState | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the state bag that holds the style elements. |
![]() | Width | Gets or sets the width of the Web server control. |
| Name | Description | |
|---|---|---|
![]() ![]() | IStateManager::IsTrackingViewState | Gets a value that indicates whether a server control is tracking its view state changes. |



