Fixes #1842 - Add support for toggling selected cells e.g. with space#2386
Fixes #1842 - Add support for toggling selected cells e.g. with space#2386
Conversation
… a new head to selection stack
|
Ready for testing now! This feature is both nice to have and is an actual solution for #1842 (the previous PR was mouse only and there was a workaround in the issue for keyboard). See the issue OP question:
The answer now is yes! just pick a key and set the keybinding. In the Scenario I have added this to TableEditor with keybinding of Space and same for the Tests but I don't think we want to claim this key by default as it is quite a niche feature and the key is likely to be bound by existing library users given its prominence. It will be used in the new FileDialog2 as one of the ways of selecting multiple files files (can still use shift select or ctrl+mouse click). |
Adds support for
Command.ToggleCheckedtoTableView. This allows pure keyboard multi selection (e.g. like you would with Ctrl+Click).MultiSelectis ontableView.AddKeyBinding (Key.Space, Command.ToggleChecked);)Pull Request checklist:
CTRL-K-Dto automatically reformat your files before committing.dotnet testbefore commit///style comments)