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

LookUpEditSearchHighlightEventArgs.SetHighlightRange(Func<String, Nullable<DisplayTextHighlightRange>>) Method

In This Article

Sets a specific highlight range.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void SetHighlightRange(
    Func<string, DisplayTextHighlightRange?> getRangeFromDisplayText
)

#Parameters

Name Type Description
getRangeFromDisplayText Func<String, Nullable<DevExpress.Data.DisplayTextHighlightRange>>

A function that must return a highlight range. A highlight range is a structure that contains the first hightlighted char position, and the length of highlighted charecters’ sequence.

See Also