System.Web.UI.HtmlControls.HtmlTableCell.VAlign Property

Gets or sets the vertical alignment for the content of a cell represented by an instance of the System.Web.UI.HtmlControls.HtmlTableCell class.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the HtmlTableCell.VAlign property to specify the vertical alignment of the content in a cell represented by an instance of the System.Web.UI.HtmlControls.HtmlTableCell class.

Note:

Setting this property affects only the cell represented by an instance of the System.Web.UI.HtmlControls.HtmlTableCell class. To apply the same vertical alignment to the cells of an entire row in the table, set the HtmlTableRow.VAlign property of the row represented by an instance of the System.Web.UI.HtmlControls.HtmlTableRow class.

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

Top

Aligns the contents of a cell with the upper edge of the cell.

Middle

Aligns the contents of a cell in the center of the cell.

Bottom

Aligns the contents of a cell with the lower edge of the cell.

Note:

You can also use BaseLine as a value for this property. However, not all browsers support this feature.

Requirements

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