Data.DB.TField.DisplayLabel
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: published | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TField | |
Delphi
property DisplayLabel: string read GetDisplayLabel write SetDisplayLabel stored IsDisplayLabelStored;
C++
__property System::UnicodeString DisplayLabel = {read=GetDisplayLabel, write=SetDisplayLabel, stored=IsDisplayLabelStored};
Description
Contains the text to display in the corresponding column heading of a data grid.
Use DisplayLabel to assign column headings to a data grid. The column headings of the data grid use the DisplayName property of the field whose value they represent. Setting DisplayLabel changes the read-only DisplayName property from FieldName to the string specified as DisplayLabel.