Table of Contents

Method AdjustSelectionToNextItemBeginningWith

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

AdjustSelectionToNextItemBeginningWith(char, StringComparison)

Moves the SelectedObject to the next item that begins with character.

This method will loop back to the start of the tree if reaching the end without finding a match.

public void AdjustSelectionToNextItemBeginningWith(char character, StringComparison caseSensitivity = StringComparison.CurrentCultureIgnoreCase)

Parameters

character char

The first character of the next item you want selected.

caseSensitivity StringComparison

Case sensitivity of the search.