UAOOI.Windows.Forms Namespace
UAOOI.Windows.Forms

TreeViewSearcher..::..SearchAndSelectNextNodeThatContainsText Method

Searches the and select next node that contains text.

Namespace:  UAOOI.Windows.Forms
Assembly:  CAS.Windows.Forms (in CAS.Windows.Forms.dll)

Syntax


public static bool SearchAndSelectNextNodeThatContainsText(
	TreeView treeView,
	string TextToBeSearched,
	bool Forward,
	bool JumpToTheBeginningWhenEndOfTreeIsReachedOrReturnNullIfItIsFalseAndEndOfTreeIsReached,
	StringComparison stringComparison
)

Parameters

treeView
Type: TreeView
The tree view.
TextToBeSearched
Type: String
The text to be searched.
Forward
Type: Boolean
if set to true [forward].
JumpToTheBeginningWhenEndOfTreeIsReachedOrReturnNullIfItIsFalseAndEndOfTreeIsReached
Type: Boolean
if set to true [jump to the beginning when end of tree is reached or return null if it is false and end of tree is reached].
stringComparison
Type: StringComparison
The string comparison.

Return Value