|
| 1 | +--- |
| 2 | +title: WinUI |
| 3 | +page_title: .NET MAUI TreeDataGrid Documentation - Keyboard Support for WinUI |
| 4 | +description: Learn more about the available keyboard combinations as part of the supported Telerik UI for .NET MAUI TreeDataGrid accessibility standards. |
| 5 | +position: 1 |
| 6 | +slug: treedatagrid-keyboard-support |
| 7 | +--- |
| 8 | + |
| 9 | +# .NET MAUI TreeDataGrid Keyboard Support on WinUI |
| 10 | + |
| 11 | +The [Telerik UI for .NET MAUI TreeDataGrid]({%slug treedatagrid-overview%}) provides keyboard navigation support on `WinUI`. |
| 12 | + |
| 13 | +While applying part of the keyboard keys, you can also change the current cell behavior of the TreeDataGrid component. For more details, see the article on [setting the .NET MAUI TreeDataGrid cells]({%slug treedatagrid-current-cell%}). |
| 14 | + |
| 15 | +The following table lists the actions and keyboard combinations that are available in the TreeDataGrid: |
| 16 | + |
| 17 | +| Hotkey Combinations | Action | |
| 18 | +|----------------------|-------------------| |
| 19 | +| `Left Arrow` | Focuses the next cell on the left. When using single selection mode, the selection also changes. | |
| 20 | +| `Right Arrow` | Focuses the next cell on the right. When using single selection mode, the selection also changes. | |
| 21 | +| `Up Arrow` | Focuses the next cell above. When using single selection mode, the selection also changes. | |
| 22 | +| `Down Arrow` | Focuses the next cell below. When using single selection mode, the selection also changes. | |
| 23 | +| `F2` | Puts the current cell in edit mode. | |
| 24 | +| `Enter` | Selects the next or previous row. When the cell is in edit mode, the changes are committed and the next row is selected. | |
| 25 | +| `Esc` | Cancels the editing of the current cell. | |
| 26 | +| `PageUp` | Focuses the first cell of the viewport. | |
| 27 | +| `PageDown` | Focuses the last cell of the viewport. | |
| 28 | +| `Home` | Focuses the first cell of the selected row. | |
| 29 | +| `End` | Focuses the last cell of the selected row. | |
| 30 | +| `Ctrl` + `Home`| Focuses the first cell of the DataGrid. | |
| 31 | +| `Ctrl` + `End`| Focuses the last cell of the DataGrid. | |
| 32 | +| `Ctrl` + `Left Arrow` | Collapses the TreeDataGrid item. If pressign the key combination again, focuses the cell at the beginning. | |
| 33 | +| `Ctrl` + `Right Arrow` | Expands the TreeDataGrid item. If the item is expanded, focuses the next cell on the right. | |
| 34 | +| `Ctrl` + `Up Arrow` | Focuses the cell at the beginning. When using single selection mode, the selection also changes. | |
| 35 | +| `Ctrl` + `Down Arrow` | Focuses the last cell. When using single selection mode, the selection also changes. | |
| 36 | +| `Tab` | Focuses the next cell. When in edit mode, the next cell editor is focused. | |
| 37 | +| `Shift` + `Tab` | Focuses the previous cell. When in edit mode, the previous editor is focused. | |
| 38 | + |
| 39 | +## Additional Resources |
| 40 | + |
| 41 | +- [.NET MAUI TreeDataGrid Product Page](https://www.telerik.com/maui-ui/treedatagrid) |
| 42 | +- [.NET MAUI TreeDataGrid Forum Page](https://www.telerik.com/forums/maui?tagId=1801) |
| 43 | +- [Telerik .NET MAUI Blogs](https://www.telerik.com/blogs/mobile-net-maui) |
| 44 | +- [Telerik .NET MAUI Roadmap](https://www.telerik.com/support/whats-new/maui-ui/roadmap) |
| 45 | + |
| 46 | +## See Also |
| 47 | + |
| 48 | +- [Sorting Telerik UI for .NET MAUI TreeDataGrid Records]({%slug treedatagrid-sorting%}) |
| 49 | +- [Filtering .NET MAUI TreeDataGrid Records]({%slug treedatagrid-filtering-overview%}) |
| 50 | +- [Styling the Appearance of the TreeDataGrid]({%slug treedatagrid-styling%}) |
0 commit comments