This documentation is archived and is not being maintained.

TableCell.VerticalAlign Property

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

[Visual Basic]
Public Overridable Property VerticalAlign As VerticalAlign
[C#]
public virtual VerticalAlign VerticalAlign {get; set;}
[C++]
public: __property virtual VerticalAlign get_VerticalAlign();
public: __property virtual void set_VerticalAlign(VerticalAlign);
[JScript]
public function get VerticalAlign() : VerticalAlign;
public function set VerticalAlign(VerticalAlign);

Property Value

One of the VerticalAlign enumeration values. The default is NotSet.

Remarks

Use the VerticalAlign property to specify the vertical alignment of the contents of the cell. The following table lists the possible values.

Vertical Alignment Description
NotSet The vertical alignment is not set.
Top The contents of the cell are aligned with the top of the cell.
Middle The contents of the cell are aligned with the middle of the cell.
Bottom The contents of the cell are aligned with the bottom of the cell.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

TableCell Class | TableCell Members | System.Web.UI.WebControls Namespace | VerticalAlign | HorizontalAlign

Show: