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.Find(Variant,string,Integer) Method

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

#Declaration

Delphi
function Find(const AValue: Variant; const ADisplayText: string; var AIndex: Integer): Boolean; virtual;

#Parameters

Name Type Description
AValue Variant

The value of the searched filter item.

ADisplayText string

The display text of the searched filter item. The function takes the ADisplayText parameter value into account only if the SortByDisplayText property is set to True.

AIndex Integer

The index of the first filter item with the specified value and display text. The function returns -1 as the AIndex parameter if the list has no filter items with the specified value and display text.

#Returns

Type Description
Boolean

True if the function finds a filter item with the specified value and display text; otherwise, false.

See Also