asp.net.ph

TableItemStyle Class

System.Web.UI.WebControls Namespace


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

TableItemStyle Class Members

Collapse   Constructors

Visibility Constructor Parameters
public TableItemStyle ( )
public TableItemStyle ( StateBag bag )

Collapse   Properties

Visibility Name Value Type Accessibility
public HorizontalAlign HorizontalAlign [ Get , Set ]
public VerticalAlign VerticalAlign [ Get , Set ]
public Wrap Boolean [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public AddAttributesToRender ( HtmlTextWriter writer , WebControl owner ) Void
public CopyFrom ( Style s ) Void
public MergeWith ( Style s ) Void
public Reset ( ) Void

Remarks

The TableItemStyle class represents the style properties for an element of a control that renders as a TableRow or TableCell. You can control the vertical and horizontal alignment of the contents in an item of the table by setting the HorizontalAlign and 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 Wrap property.

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

See Also

Style Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph