System.Web.UI.WebControls.TableItemStyle Members

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

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

Public Constructors

Creates a new instance of the System.Web.UI.WebControls.TableItemStyle class using default values.

Creates a new instance of the System.Web.UI.WebControls.TableItemStyle class with the specified state bag.

Public Properties

HorizontalAlignHorizontalAlign.

Gets or sets the horizontal alignment of the contents in a cell.

VerticalAlignVerticalAlign.

Gets or sets the vertical alignment of the contents in a cell.

Wrapbool.

Gets or sets a value indicating whether the contents of a cell wrap in the cell.

Public Methods

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

Adds information about horizontal alignment, vertical alignment, and wrap to the list of attributes to render.

override
CopyFrom(Style)

Duplicates the non-empty style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.

override
MergeWith(Style)

Combines the style properties of the specified System.Web.UI.WebControls.Style into the instance of the System.Web.UI.WebControls.TableItemStyle class that this method is called from.

override
Reset()

Removes any defined style elements from the style.