Skip to main content

TcxTreeListCustomDataSource Class

A custom data source for the virtual TreeList control.

Declaration

TcxTreeListCustomDataSource = class(
    TcxCustomDataSource
)

Remarks

This class provides the base functionality to implement a user-defined data source. You can inherit your own class from TcxTreeListCustomDataSource to enable your control to display arbitrary data. As a rule, you have to implement your custom data source when it is necessary to display information from an aggregate data structure within the control (for instance, a tree structure, a cluster of linked objects, a list, etc.). To set a custom data source for the control, use the CustomDataSource property. When a data controller retrieves data from a custom data source, it is operating in provider mode.

To learn how to implement a custom data source, refer to the Introduction To Provider Mode help topic.

A virtual TreeList control’s CustomDataSource and DataController.CustomDataSource properties reference a TcxTreeListCustomDataSource object.

Inheritance

TObject
TcxCustomDataSource
TcxTreeListCustomDataSource
See Also