Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TableRow::Cells Property

 

Gets a collection of TableCell objects that represent the cells of a row in a Table control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
[PersistenceModeAttribute(PersistenceMode::InnerDefaultProperty)]
property TableCellCollection^ Cells {
	virtual TableCellCollection^ get();
}

Property Value

Type: System.Web.UI.WebControls::TableCellCollection^

A TableCellCollection object that represents a collection of cells from a row of a Table control.

Use this property to programmatically control a collection of TableCell objects that represent the cells from a row of the Table control. You can programmatically add, insert, or remove a TableCell object from the collection.

System_CAPS_noteNote

This property is only used when building Table controls programmatically. At design time, this property is set by declaring TableCell objects.

This following code example creates a table, programmatically adds elements to the table, and displays the table on the Web page.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft