System.Web.UI.WebControls.TableStyle Members

The members of System.Web.UI.WebControls.TableStyle are listed below.

See Also: Inherited members from System.Web.UI.WebControls.Style

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.TableStyle class using default values.

Initializes a new instance of the System.Web.UI.WebControls.TableStyle class with the specified state bag information.

Public Properties

BackImageUrlstring.

Gets or sets the URL of an image to display in the background of a table control.

CellPaddingint.

Gets or sets the amount of space between the contents of the cell and the cell's border.

CellSpacingint.

Gets or sets the distance between table cells.

GridLinesGridLines.

Gets or sets a value that specifies whether the border between the cells of the table control is displayed.

HorizontalAlignHorizontalAlign.

Gets or sets the horizontal alignment of the table within its container.

Public Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)

Adds information about the background image, cell spacing, cell padding, gridlines, and alignment to the list of attributes to render.

override
CopyFrom(Style)

Copies non-blank elements from the specified style, overwriting existing style elements if necessary.

override
MergeWith(Style)

Copies non-blank elements from the specified style, but will not overwrite any existing style elements.

override
Reset()

Clears any defined style elements of the style.

Protected Methods