Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

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

Parameters

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 1

A CompareOptions enumeration value that specifies the string comparison mode.

See Also