asp.net.ph

HtmlTableRow Class

System.Web.UI.HtmlControls Namespace


Allows programmatic access to individual table row <tr> elements in an HtmlTable.

HtmlTableRow Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HtmlTableRow ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Align String [ Get , Set ]
public BgColor String [ Get , Set ]
public BorderColor String [ Get , Set ]
public Cells HtmlTableCellCollection [ Get ]
public Height String [ Get , Set ]
public InnerHtml String [ Get , Set ]
public InnerText String [ Get , Set ]
public VAlign String [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
protected CreateControlCollection ( ) ControlCollection
protected RenderEndTag ( HtmlTextWriter writer ) Void

Remarks

The <tr> element represents a row in a table. Use the HtmlTableRow class to programmatically access the individual HTML <tr> elements on the server.

The HtmlTableRow class allows you to customize the appearance of a row in a table by specifying the row's BgColor, BorderColor, and Height properties.

The Align property controls the horizontal alignment, while the VAlign property controls the vertical alignment of the content of all the cells within the row.

NOTE: Setting some properties of a table row affects all cells in the given row. To set individual cell properties, use the properties applicable to the HtmlTableCell class.

The cells of the HtmlTableRow control are stored in its Cells collection. This allows you to programmatically access the properties, as well as the content, of each cell in the row.

For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlTableRow in ASP.NET Syntax for HTML Controls.

See Also

HtmlTable   HtmlTableCell   HtmlTableRowCollection   HtmlTableCellCollection 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