Skip to main content

LookUpEditSearchHighlightEventArgs.HighlightFirst(String, CompareOptions) Method

In every data field value, selects the first found text sequence if it matches the user text.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public void HighlightFirst(
    string text,
    CompareOptions compareOptions = CompareOptions.IgnoreCase


Name Type Description
text String

A Text that should be highlighted if it matches the user text.

Optional Parameters

Name Type Default Description
compareOptions CompareOptions IgnoreCase

A CompareOptions enumeration value that specifies the string comparison mode.

See Also