System.Web.UI.WebControls.Style: Property Members

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

Public Properties

BackColorSystem.Drawing.Color.

Gets or sets the background color of the Web server control.

BorderColorSystem.Drawing.Color.

Gets or sets the border color of the Web server control.

BorderStyleBorderStyle.

Gets or sets the border style of the Web server control.

BorderWidthUnit.

Gets or sets the border width of the Web server control.

CssClassstring.

Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client.

[read-only]
FontFontInfo.

Gets the font properties associated with the Web server control.

ForeColorSystem.Drawing.Color.

Gets or sets the foreground color (typically the color of the text) of the Web server control.

HeightUnit.

Gets or sets the height of the Web server control.

[read-only]
IsEmptybool.

A protected property. Gets a value indicating whether any style elements have been defined in the state bag.

[read-only]
RegisteredCssClassstring.

Gets the cascading style sheet (CSS) class that is registered with the control.

WidthUnit.

Gets or sets the width of the Web server control.

Protected Properties

[read-only]
IsTrackingViewStatebool.

Returns a value indicating whether any style elements have been defined in the state bag.

[read-only]
ViewStateSystem.Web.UI.StateBag.

Gets the state bag that holds the style elements.