Skip to main content

LookUpEditSearchHighlightEventArgs.HighlightAny(String[], String, CompareOptions) Method

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void HighlightAny(
    string[] fieldNames,
    string text,
    CompareOptions compareOptions = CompareOptions.IgnoreCase
)

Parameters

Name Type Description
fieldNames String[]

A list of data fields whose values should 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