Lists options used for searching.
Performs a search regardless of the case of the characters. Finds the occurrence of a string in a text. Strings will match even if the case is different (e.g. “mystring” will match “myString”).
Performs a case sensitive search. Only exact matches are found (e.g. “myString” matches “myString” but not “mystring”).
Search strings will only match if neither an alphabetical character nor a decimal digit occurs on either side of the string.
The SearchOptions is a flags enumeration. Combine enumeration members with the unary OR operator to compose a complex option. For example, to perform a case-sensitive search for a whole word, use the (SearchOptions.CaseSensitive | SearchOptions.WholeWord) expression.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SearchOptions enum.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.