Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDBItemDataBinding.FieldName Property

Specifies the item’s field name.

#Declaration

Delphi
property FieldName: string read; write;

#Property Value

Type
string

#Remarks

This property identifies the dataset field to which the current item is bound. This field itself can be accessed via the Field property.

When the FieldName property is assigned, the data field type determines the default editor used to edit the item’s content. The following table lists the default editors corresponding to field types. This correspondence is specified by the DBRepositoryItemClasses array declared in the cxEditDBRegisteredRepositoryItems unit:

Field type Associated editor
ftBoolean TcxCheckBox
ftCurrency, ftBCD, ftFMTBcd TcxCurrencyEdit
ftDate, ftDateTime TcxDateEdit
ftTime TcxTimeEdit
ftBytes, ftVarBytes, ftBlob, ftFmtMemo, ftParadoxOle, ftDBaseOle, ftTypedBinary TcxBlobEdit
ftMemo TcxMemo
ftGraphic TcxImage

For fields not listed in the above table, the TcxMaskEdit is used.

If you need to change the default editor, use the column’s Properties or PropertiesClassName property.

See Also