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

TcxTreeListCustomDataSource Class

A custom data source for the virtual TreeList control.

#Declaration

Delphi
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