FindOptions Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.dll
Description
Determines search options for the Find methods. The enumeration contains the following values:
Syntax
[]
public enum FindOptions<Flags>
Public Enum FindOptionsMembers
| Member | Value | Description |
|---|---|---|
| MatchCase | 4 | Locates only instances of the search text that have the exact casing. |
| MatchWholeWord | 64 | Locates only instances of the search text which are whole words. |
| NoHighlight | 8 | The search text, if found, is not highlighted. |
| NoMessageBox | 16 | Does not display message boxes to inform about search results. |
| Reverse | 1 | The search starts at the end of the control's document and searches to the beginning of the document. |
Examples
The following example selects the Reverse value from the Find Options enumeration and uses it as a documented workflow choice.
FindOptions value = FindOptions.Reverse;
Console.WriteLine($"Using Find Options: {value}");Dim value As FindOptions = FindOptions.Reverse
Console.WriteLine($"Using Find Options: {value}")See Also
TextControl.Find Method, WPF.TextControl.Find Method, ServerTextControl.Find Method, HeaderFooter.Find Method, TextFrame.Find Method.