TcxGridCard Class
Represents a record in a Card View.
Declaration
TcxGridCard = class(
TcxGridCustomLayoutRecord
)
Remarks
The TcxGridCard class represents a single card referencing the data of a record within a data source. Records are presented in a form of cards in a Card View of class TcxGridCardView. You can get the cards displayed within the current View via the Card View’s ViewData.Cards array.
The visual position of a card is defined by the Index property. When you sort data by any item (card row), the card’s Index is changed to reflect the current card position. You can use the RecordIndex property of a card as a constant reference to this card. RecordIndex determines the position of the corresponding record in a data source.
The Values and DisplayTexts properties allow you to get a value and its text representation at a specific item (card row).
For more information on the View’s records see the TcxCustomGridRecord class topic.