Skip to main content

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

Sets a specific highlight range.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

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

Parameters

Name Type Description
getRangeFromDisplayTextAndFieldName Func<String, 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