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.FindItemByKind(TcxFilterValueItemKind,Variant) Method

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

#Declaration

Delphi
function FindItemByKind(AKind: TcxFilterValueItemKind; const AValue: Variant): Integer; overload;

#Parameters

Name Type Description
AKind TcxFilterValueItemKind

The target filter item type.

AValue Variant

The target filter item’s value. If you pass Null as the AValue parameter, the function works identically to the FindItemByKind(TcxFilterValueItemKind) function.

#Returns

Type Description
Integer

The index of the first filter item with the specified type and value. The function returns -1 if the list has no such filter items.

#Remarks

Call the FindItemByKind function to search filter items of the fviUser, fviUserEx, fviValue, and fviSpecial types. To search fviValue filter items, call the FindItemByValue function.

See Also