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

TcxFilterValueList.GetIndexByCriteriaItem(TcxFilterCriteriaItem) Method

Returns the index of the filter item that corresponds to the specified filter criterion.

#Declaration

Delphi
function GetIndexByCriteriaItem(ACriteriaItem: TcxFilterCriteriaItem): Integer; virtual;

#Parameters

Name Type Description
ACriteriaItem TcxFilterCriteriaItem

The target filter criterion.

#Returns

Type Description
Integer

The index of the filter item that corresponds to the ACriteriaItem criterion. The function returns -1 if the list has no such filter item.

See Also