TX Text Control .NET for Windows Forms

FindOptions Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

Determines search options for the Find methods. The enumeration contains the following values:

Syntax

[Flags]
public enum FindOptions

Members

MemberValueDescription
MatchCase4Locates only instances of the search text that have the exact casing.
MatchWholeWord64Locates only instances of the search text which are whole words.
NoHighlight8The search text, if found, is not highlighted.
NoMessageBox16Does not display message boxes to inform about search results.
Reverse1The 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}");

See Also

TextControl.Find Method, WPF.TextControl.Find Method, ServerTextControl.Find Method, HeaderFooter.Find Method, TextFrame.Find Method.