Skip to main content

TcxFilterValueList.GetIndexByCriteriaItem(TcxFilterCriteriaItem) Method

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

Declaration

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