Gets or sets the vertical alignment of the contents in the row.
Assembly: System.Web (in System.Web.dll)
Use theproperty to specify the vertical alignment of the contents of the row. The following table lists the possible values.
The vertical alignment is not set.
The contents of the row are aligned with the top of the row.
The contents of the row are aligned with the middle of the row.
The contents of the row are aligned with the bottom of the row.
The following example demonstrates how to use the TableRow class overview topic.property. For a complete, working code example, see the
// Create a TableItemStyle object that can be // set as the default style for all cells // in the table. TableItemStyle tableStyle = new TableItemStyle(); tableStyle.HorizontalAlign = HorizontalAlign.Center; tableStyle.VerticalAlign = VerticalAlign.Middle; tableStyle.Width = Unit.Pixel(100);
Available since 1.1