This documentation is archived and is not being maintained.

TableRowsCollectionEditor Class

Provides a user interface for editing rows of a table.

For a list of all members of this type, see TableRowsCollectionEditor Members.


[Visual Basic]
Public Class TableRowsCollectionEditor
   Inherits CollectionEditor
public class TableRowsCollectionEditor : CollectionEditor
public __gc class TableRowsCollectionEditor : public
public class TableRowsCollectionEditor extends CollectionEditor

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


[Visual Basic] The following code example uses the EditorAttribute to associate the TableRowsCollectionEditor class and the UITypeEditor class (the collection editor's base class) with a custom TestRows property.

[Visual Basic] 
Private rows As TableRowCollection

' Use the TableRowsCollectionEditor to allow
' property editing on a design surface.
<EditorAttribute( _
   GetType(System.Web.UI.Design.WebControls.TableRowsCollectionEditor), _
   GetType(UITypeEditor))> _
Public ReadOnly Property TestRows() As TableRowCollection
       Return rows
   End Get
End Property

[C#, C++, JScript] No example is available for C#, C++, or JScript. To view a Visual Basic example, click the Language Filter button Language Filter in the upper-left corner of the page.


Namespace: System.Web.UI.Design.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

TableRowsCollectionEditor Members | System.Web.UI.Design.WebControls Namespace