Sign in Join
FPDoc Onlineexperiment

TGridColumns.Items property

Member of TGridColumnspublicIn unit Grids

Provides indexed access to column definitions in the collection.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.