DisplayLabel 属性 (TField)

Contains the text to display in the corresponding column heading of a data grid.
包含了显示在Datagrid对应的列标题上的内容

Delphi 语法:

property DisplayLabel: String;

C++ 语法:

__property AnsiString DisplayLabel = {read=GetDisplayLabel, write=SetDisplayLabel, stored
=IsDisplayLabelStored};

详细内容:

Use DisplayLabel to assign column headings to a data grid.
使用 DisplayLabel赋值Datagrid的列标题
The column headings of the data grid use the DisplayName property of the field whose value they represent.
Data grid的列标题使用字段的DisplayName属性值便是DisplayLabel指定的。
Setting DisplayLabel changes the read-only DisplayName property from FieldName to the string specified as DisplayLabel.
设置DisplayLabel可以改变只读属性DisplayName与FieldName所指定的DisplayLabel值一致。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值