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

TcxCustomDataController.IsItemExpression(Integer) Method

Identifies if the specified data item corresponds to a calculated column or row in a container control.

#Declaration

Delphi
function IsItemExpression(AItemIndex: Integer): Boolean;

#Parameters

Name Type
AItemIndex Integer

#Returns

Type
Boolean

#Remarks

Call this function and pass a required data item’s index as the AItemIndex parameter. The function returns True only if the following conditions are met:

  • The target data item has an assigned expression (that is, the ItemExpressions property does not return an empty string for the same data item index).

  • The target data item has an assigned value type.

  • The data controller (a TcxCustomDataController class descendant) supports calculated fields.

  • The target data item does not have a bound dataset field (this condition applies only to the Bound data loading mode).

Otherwise, the IsItemExpression function returns False.

See Also