Back to Devexpress

TcxGridCard Class

vcl-cxgridcardview-d94faded.md

latest2.6 KB
Original Source

TcxGridCard Class

Represents a record in a Card View.

Declaration

delphi
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.

Inheritance

TObject TcxCustomGridRecord TcxGridCustomLayoutRecord TcxGridCard

See Also

TcxCustomGridRecord

TcxCustomGridTableController.FocusedRecord

TcxCustomGridTableView.OnFocusedItemChanged

TcxGridCardViewViewData.Cards

TcxGridCustomLayoutViewViewData.Records

TcxPivotGridCrossCell.Records

TcxPivotGridCrossCellSummary.Records

TcxPivotGridGroupItem.Records

Records

TcxGridCard Members

cxGridCardView Unit