This documentation is archived and is not being maintained.

TableRow.HorizontalAlign Property

Gets or sets the horizontal alignment of the contents in the row.

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

Property Value

One of the HorizontalAlign values. The default value is NotSet.

Remarks

Use the HorizontalAlign property to specify the horizontal alignment of the contents of the row. The following table lists the possible values.

Horizontal Alignment Description
NotSet The horizontal alignment is not set.
Left The contents of the row are left justified.
Center The contents of the row are centered.
Right The contents of the row are right justified.
Justify The contents of the row are uniformly spread out and aligned with both the left and right margins.

Requirements

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

See Also

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

Show: