FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / Rows Property

In This Topic
    Rows Property (C1FlexGridBase)
    In This Topic
    Gets the collection of Row objects in the grid.
    Public ReadOnly Property Rows As RowCollection
    public RowCollection Rows {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.

    See Also