Skip to main content

LookUpEditSearchHighlightEventArgs.HighlightAny(String, String, CompareOptions) Method

Highlights any part of a record that belongs to the specific data field and matches the given text.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public void HighlightAny(
    string fieldName,
    string text,
    CompareOptions compareOptions = CompareOptions.IgnoreCase


Name Type Description
fieldName String

A data field whose values can be highlighted.

text String

A text that should be highlighted.

Optional Parameters

Name Type Default Description
compareOptions CompareOptions IgnoreCase

A CompareOptions enumeration value that specifies the string comparison mode.

See Also