[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TGridColumns.Items

Provides indexed access to column definitions in the collection.

Declaration

Source position: grids.pas line 670

public property TGridColumns.Items[Index: Integer] : TGridColumn
  read GetColumn
  write SetColumn;
  default;

Description

Items is an indexed TGridColumn used to access column definitions in the collection by the ordinal position specified in the Index argument. Items is the default for the collection.

Use Add to create and store a new instance of TGridColumn in the collection.

Use InsertColumn to create and store a new collection item at a specific position in the collection.

Use RemoveColumn, Delete or Clear to remove one or all item(s) in the collection.

Use IndexOf to get the ordinal position in the collection for an existing TGridColumn class instance.

See also

TGridColumns.Clear

  

Clears all items in the collection.

TGridColumns.IndexOf

  

Gets the ordinal position in the collection for the specified column.

TGridColumns.Add

  

Creates a new ItemClass instance with the collection as its owner.

TGridColumns.InsertColumn

  

Inserts a column at the specified index position.

TGridColumns.RemoveColumn

  

Removes the specified column number from the collection.

TCollection.Delete


Version 4.0 Generated 2025-05-03 Home