Keyboard Navigation and Search
Keyboard Navigation
The user can navigate RadTreeView and control TreeView modes using the following keyboard commands:
Key | Description | |
---|---|---|
Up Arrow | moves the selection up in the nodes hierarchy | |
Down Arrow | moves the selection down in the nodes hierarchy | |
Left Arrow | collapses a node | |
Right Arrow | expands a node | |
Enter | expands/collapses a node | |
Space | Toggles node's check box | |
PageUp | scrolls the scrolling area up with one frame (page) | |
PageDown | scrolls the scrolling area down with one frame (page) | |
F2 | activates tree's editor and places it on the selected node | |
Esc | deactivates tree's editor | |
Home | moves the selection to the first visible node | |
End | moves the selection to the last visible node |
Keyboard Search
RadTreeView allows navigation through the visible nodes by using keyboard. Two scenarios are supported by default:
Pressing a character will select consequently each node starting with this character
Typing more than one character will navigate to the first node matching the typed string
To enable this functionality a single property setting is needed:
radTreeView1.KeyboardSearchEnabled = true;
radTreeView1.KeyboardSearchEnabled = True
Another property of interest is the KeyboardSearchResetInterval. It is used to determine what time between keystrokes will be considered as typing. Consequent keystrokes with performed faster than the specified interval will be considered typing and once the time elapses, the matching node (if such) will be selected. Here is how to access this property to change the value of the timer:
radTreeView1.TreeViewElement.KeyboardSearchResetInterval = 500;
radTreeView1.KeyboardSearchResetInterval = 500