Index Property
Description
The index of the GridRecordItem within a GridRecord's collection of GridRecordItem.
Property Type
Read-only property
Syntax (Visual Basic)
Public Property Index() As Long
Remarks
Each GridRecordItem has to be added to a GridRecord before it can be used in the GridControl. The GridRecord contains a collection of GridRecordItems, and the records are referenced by an index.
- The first GridRecordItem added to the collection has an index of zero.
- The index is incremented by 1 for each GridRecordItem added.
- The index of the GridRecordItems in the collection corresponds with the ItemIndex of a GridColumn.
- The GridRecordItem will be displayed in the column that has an ItemIndex that is the same as the index in the GridRecordItem collection.
You can use the Insert and RemoveAt methods to insert and remove GridRecordItems from the collection.
See Also
- GridRecordItem Object
- GridRecord Object
- Collection of GridRecords Property
- GridRecords Object
- GridRecords Insert Method
- GridRecords RemoveAt Method
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.