Skip to main content

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

Sets a specific highlight range.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.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