Skip to main content

TcxDataControllerConditionalFormatting.DataController Property

Provides access to the data controller whose fields serve as a data source for the conditional formatting controller.

Declaration

property DataController: TcxCustomDataController read;

Property Value

Type
TcxCustomDataController

Remarks

Each conditional formatting rule in the controller evaluates all values in a single field or several adjacent fields in the data controller accessible via the DataController property to identify whether to apply custom formatting to the corresponding cells in a data presentation control. You can set the ExcludeFilteredOutRecords property to True to exclude filtered out record values for all affected fields from cell formatting criteria calculations.

You can use the DataController property to access, filter, and optionally, manage the source data that a data presentation control displays. Refer to the TcxCustomDataController class description for information on data controllers and the core functionality they provide.

Note

You need to cast the DataController property value to the TcxDBDataController class to access all type-specific members of the source data controller if you use Bound Mode in the ExpressQuantumGrid, ExpressQuantumTreeList, or ExpressVerticalGrid Suite.

See Also