TableCell.HorizontalAlign Property
.NET Framework 3.0
Gets or sets the horizontal alignment of the contents in the cell.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: virtual property HorizontalAlign HorizontalAlign { HorizontalAlign get (); void set (HorizontalAlign value); }
/** @property */ public HorizontalAlign get_HorizontalAlign () /** @property */ public void set_HorizontalAlign (HorizontalAlign value)
public function get HorizontalAlign () : HorizontalAlign public function set HorizontalAlign (value : HorizontalAlign)
Not applicable.
Property Value
One of the HorizontalAlign enumeration values. The default is NotSet.The following code example demonstrates how to declaratively specify the HorizontalAlign property of a TableCell control. In particular, note how the cell in the last row is left justified. For a complete, working code example, see the TableHeaderCell class overview topic.
Community Additions
ADD
Show: