FlexGrid for WinForms
Rows Property

Gets the collection of Row objects in the grid.
<C1DescriptionAttribute("Gets the collection of Rows in the grid.")>
Public ReadOnly Property Rows As RowCollection
Dim instance As C1FlexGridBase
Dim value As RowCollection
value = instance.Rows
[C1Description("Gets the collection of Rows in the grid.")]
public RowCollection Rows {get;}
[C1Description("Gets the collection of Rows in the grid.")]
property RowCollection^ Rows {
   RowCollection^ get();

The Rows property returns a reference to the list of rows that make up the grid. With this reference, you can add, remove, move, and count the rows. For more information on the tasks that can be performed with this collection, see the RowCollection object.

This property is read-only. The grid creates and manages the row collection for you.

Upgrade Note: In the VSFlexGrid ActiveX control, the Rows and FixedRows properties corresponded to the number of rows and fixed rows on the grid. In C1FlexGrid, use Rows.Count and Rows.Fixed.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


C1FlexGridBase Class
C1FlexGridBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback