System.Web.UI.WebControls.TableItemStyle Class

Represents the style properties for an element of a control that renders as a System.Web.UI.WebControls.TableRow or System.Web.UI.WebControls.TableCell.

See Also: TableItemStyle Members

Syntax

public class TableItemStyle : Style

Remarks

The System.Web.UI.WebControls.TableItemStyle class represents the style properties for an element of a control that renders as a System.Web.UI.WebControls.TableRow or System.Web.UI.WebControls.TableCell. You can control the vertical and horizontal alignment of the contents in an item of the table by setting the TableItemStyle.HorizontalAlign and TableItemStyle.VerticalAlign properties, respectively. You can also specify whether the contents of the cell automatically continue on the next line when the end of the cell is reached by setting the TableItemStyle.Wrap property.

This class provides methods that are useful for creating a style for an item in the System.Web.UI.WebControls.Table control. You can use the TableItemStyle.CopyFrom(Style) and TableItemStyle.MergeWith(Style) methods to copy or merge the style properties of another System.Web.UI.WebControls.TableItemStyle with the instance of the System.Web.UI.WebControls.TableItemStyle that the method is called from.

Requirements

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