Skip to main content

TcxFilterValueList.FindItemByValue(Variant) Method

Returns the index of the first filter item with the specified value.

Declaration

function FindItemByValue(const AValue: Variant): Integer;

Parameters

Name Type Description
AValue Variant

The value of the target filter item.

Returns

Type Description
Integer

The index of the first filter item whose value equals the AValue parameter. The function returns -1 if the list has no filter item with the specified value.

See Also