Vcl.Grids.TStringGrid.Rows
Delphi
property Rows[Index: Integer]: TStrings read GetRows write SetRows;
C++
__property System::Classes::TStrings* Rows[int Index] = {read=GetRows, write=SetRows};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGrid |
Description
Lists the strings and their associated objects for each row.
Use Rows to access all the strings for a single row, along with their associated objects. The number of strings and associated objects is always equal to the value of the ColCount property, the number of columns in the grid. The Index parameter is the number of the row, where the value of the first row in the grid is zero.
To get all the strings and objects for a column, rather than for a row, use the Cols property.
See Also
Code Examples