Skip to main content

TcxEditDataBinding Class

Represents a connection of an editor to a data storage.

Declaration

TcxEditDataBinding = class(
    TPersistent
)

Remarks

The TcxEditDataBinding class binds the TcxCustomEdit editor to the appropriate data storage. Editors can use the DataBinding property to read from or write to a dataset. Data-aware editors work with datasets while simple (non data-aware) editors do not. To write or read a value from a data storage write or read the value from the StoredValue property.

Note

You can create your own data-binding class which will supply data from a custom data storage. The new class must be derived from TcxEditDataBinding. To make an editor use a new data-binding object you have to override the GetDataBindingClass function declared in TcxCustomEdit.

Inheritance

TObject
TPersistent
TcxEditDataBinding
See Also