All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

public void HighlightAny(
    string fieldName,
    string text,
    CompareOptions compareOptions = CompareOptions.IgnoreCase
)
Public Sub HighlightAny(
    fieldName As String,
    text As String,
    compareOptions As 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