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

TcxDataFindCriteria.GetTextStartPositionByRecordIndex(Integer,Integer,string) Method

Returns a highlighted text match and its start position in a data item by the specified record and item indexes.

#Declaration

Delphi
function GetTextStartPositionByRecordIndex(ARecordIndex: Integer; AItemIndex: Integer; out AHighlightedText: string): Integer;

#Parameters

Name Type
ARecordIndex Integer
AItemIndex Integer
AHighlightedText string

#Returns

Type
Integer

#Remarks

This function works in the same way as the GetTextStartPositionByRowIndex function. The only difference is that the GetTextStartPositionByRecordIndex function accepts a target record’s index as the ARecordIndex parameter instead of the record’s row index.

See Also