Returns a value that represents the index of an object in a collection.
Type | Description | |||
Long | A long expression that represents the index of an object in a collection. |
Use the Position property to change the column's position. The Columns collection is zero based, so the Index property starts at 0. The last added column has the Index set to Columns.Count - 1. When a column is removed from the collection, the control updates all indexes. Use the Visible property to hide a column. Use the Columns property to access column from it's index.