-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get list of all selected cells #39
Comments
Sounds useful even if not common. What type should be used for |
Yes, |
I'm not gonna have time anytime soon, do you feel like trying your hand at a PR? |
A different approach to multi-selection - which is facilitated for example by ListView, might be to have an IsSelected property on the ViewModel, which can be set if the cell is selected. In the VM, you can then easily retrieve a complete list of selected items.
You can thus simply add a 'Selected' property or so to your VM. This should be applicable to DataGrid also. |
It is currenly only possible via
Selected.CellItem
to get an single cell item. I want to bind multiple selected cells to my ViewModel, which would require something likeSelected.CellItems
.The text was updated successfully, but these errors were encountered: