System.Web.UI.HtmlControls.HtmlTableRow.Align Property

Gets or sets the horizontal alignment of the content in the cells of a row in an System.Web.UI.HtmlControls.HtmlTable control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public string Align { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HtmlTableRow.Align property to specify the horizontal alignment of the content in the cells of a row in an System.Web.UI.HtmlControls.HtmlTable control.

Note:

Setting this property affects all cells in a row of a table represented by an instance of the System.Web.UI.HtmlControls.HtmlTableRow class. To apply an alignment attribute to a single cell of a row, set the HtmlTableCell.Align property for that cell.

The following table lists the values that can be used for this property.

Left

Aligns the contents of the cell with the left edge of the cell.

Center

Aligns the contents of the cell in the middle of the cell.

Right

Aligns the contents of the cell with the right edge of the cell.

Note:

You can also use Justify and Char as values for this property. However, not all browsers support these features.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0