Skip to main content

TcxCustomGridRecord.DisplayTexts Property

Provides indexed access to the text version of a field’s value, in the current record.

Declaration

property DisplayTexts[Index: Integer]: string read; write;

Property Value

Type
string

Remarks

Use the DisplayTexts property to retrieve or set the text representation of the value stored in the field addressed by the Index parameter. The Index parameter identifies the position of the corresponding item within the View’s Items collection. You can obtain the item’s index by using the CustomGridTableItem.Index property.

Values and their text representations are retrieved from the data controller. The number of field values is determined by the ValueCount property. To retrieve or set actual values instead of text, see the Values property.

Note

Although you are able to set the text version of a specific item’s value, use this ability for unbound Views only. In order to set the texts to display for data-aware Views, use the appropriate methods of the underlying data set instead.

See Also