HtmlTableRow::Align Property
Gets or sets the horizontal alignment of the content in the cells of a row in an HtmlTable control.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::String^The horizontal alignment of the content in the cells of a row in an HtmlTable control. The default value is String::Empty, which indicates that this property is not set.
Use the Align property to specify the horizontal alignment of the content in the cells of a row in an HtmlTable control.
Note |
|---|
Setting this property affects all cells in a row of a table represented by an instance of the HtmlTableRow class. To apply an alignment attribute to a single cell of a row, set the Align property for that cell. |
The following table lists the values that can be used for this property.
Value | Description |
|---|---|
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. |
Available since 1.1
