C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : Rows Property |
'Declaration
<C1DescriptionAttribute("Gets the collection of Rows in the grid.")> <C1CategoryAttribute("Layout")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> Public ReadOnly Property Rows As RowCollection
'Usage
Dim instance As C1FlexGridBase Dim value As RowCollection value = instance.Rows
[C1Description("Gets the collection of Rows in the grid.")] [C1Category("Layout")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public RowCollection Rows {get;}
[C1Description("Gets the collection of Rows in the grid.")] [C1Category("Layout")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public: 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