officefileapi-devexpress-dot-spreadsheet-dot-searchoptions-2effc1fe.md
Gets or sets a value indicating whether or not to search for cells whose contents are exactly alike.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public bool MatchEntireCellContents { get; set; }
Public Property MatchEntireCellContents As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to restrict the search to the entire cell content; otherwise, false.
|
Set the MatchEntireCellContents property to true to search for an exact match of characters specified by the search term. For example, searching for “Order” matches the cell values “Order” or “order” (if capitalization is not taken into account), but not “Orders” or “Order Details” or other values containing the specific text anywhere inside the cell.
For more information about how to perform a search in the document, see Find and Replace.
The following code snippets (auto-collected from DevExpress Examples) contain references to the MatchEntireCellContents property.
Note
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.
options.SearchIn = SearchIn.Values;
options.MatchEntireCellContents = true;
options.SearchIn = SearchIn.Values;
options.MatchEntireCellContents = true;
options.SearchIn = SearchIn.Values;
options.MatchEntireCellContents = true;
options.SearchIn = SearchIn.Values
options.MatchEntireCellContents = True
options.SearchIn = SearchIn.Values
options.MatchEntireCellContents = True
options.SearchIn = SearchIn.Values
options.MatchEntireCellContents = True
See Also