System.Web.UI.WebControls.TableItemStyle.HorizontalAlign Property

Gets or sets the horizontal alignment of the contents in a cell.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.HorizontalAlign.NotSet)]
public virtual HorizontalAlign HorizontalAlign { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TableItemStyle.HorizontalAlign property to specify the horizontal alignment of the data list control within its container. This property is set with one of the System.Web.UI.WebControls.HorizontalAlign enumeration values. The following table lists the possible values.

HorizontalAlign.NotSet

The horizontal alignment is not set.

HorizontalAlign.Left

The contents of a cell are left justified within the cell.

System.Web.UI.MobileControls.Alignment.Center

The contents of a cell are centered within the cell.

HorizontalAlign.Right

The contents of a cell are right justified within the cell.

The value of this property is stored in view state.

Requirements

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