This is an archived thread from the StopByte developer forum —
browse all archived threads.
StopByte is now a payments & ecommerce toolkit — check out our
free calculators.
The code above fails at the ItemsSource binding and it give this error:
‘System.Windows.Data.CollectionViewSource’ is not a valid value for property ‘ItemsSource’.
Any help please! this is urgent.
thanks
2 Likes
sparta
(this.is.sparta)
#2
Here is what happens, The problem is that you are binding the ItemsSource property into a StaticResource directly. that can be easily solved by using a Binding instead of applying direct StaticResource Value.
So change your DataGridXAML to something like this: