Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Bindable SelectedItems Collection
posted

I am supprised. The XamGrid does not have a SelctedItems collection, which is bindable keeping MVVM in place.

So I worked out something, which is working like a charm - almost.


My issue is: When there are more Item in the Grid than the amount of rows visable at once, the checkboxes for selection become messed up. The Grid stats checking/unchecking the selection textboxes. It seems the row controls are reused, but my style is not reapplied. If you take a look at the data (bound collection), everything is correct. But what is Show is messed up!

I tried putting the Grid into a ScrollViewer to disable virtualiziation, but it had no effect.

Since there is a lot of code, I would like to attach a sample, rather than trying to copy/paste it here.... Is there a way to do so?