System.Web.UI.WebControls.TableItemStyle.VerticalAlign Property

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

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

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

VerticalAlign.NotSet

The vertical alignment is not set.

VerticalAlign.Top

The contents of the cell are aligned with the upper edge of the cell.

VerticalAlign.Middle

The contents of the cell are aligned with the center of the cell.

VerticalAlign.Bottom

The contents of the cell are aligned with the lower edge of 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