The properties of System.Web.UI.WebControls.Style are listed below. For a list of all members, see the Style Members list.
See Also: Inherited members from System.ComponentModel.Component
BackColor | System.Drawing.Color.
Gets or sets the background color of the Web server control. | |
BorderColor | System.Drawing.Color.
Gets or sets the border color of the Web server control. | |
BorderStyle | BorderStyle.
Gets or sets the border style of the Web server control. | |
BorderWidth | Unit.
Gets or sets the border width of the Web server control. | |
CssClass | string.
Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. | |
[read-only] | Font | FontInfo.
Gets the font properties associated with the Web server control. |
ForeColor | System.Drawing.Color.
Gets or sets the foreground color (typically the color of the text) of the Web server control. | |
Height | Unit.
Gets or sets the height of the Web server control. | |
[read-only] | IsEmpty | bool.
A protected property. Gets a value indicating whether any style elements have been defined in the state bag. |
[read-only] | RegisteredCssClass | string.
Gets the cascading style sheet (CSS) class that is registered with the control. |
Width | Unit.
Gets or sets the width of the Web server control. |
[read-only] | IsTrackingViewState | bool.
Returns a value indicating whether any style elements have been defined in the state bag. |
[read-only] | ViewState | System.Web.UI.StateBag.
Gets the state bag that holds the style elements. |