Method AdjustSelectionToNextItemBeginningWith
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
charThe first character of the next item you want selected.
caseSensitivity
StringComparisonCase sensitivity of the search.