ArgumentException when changing DataContext
See original GitHub issueI get the following error:
It occurs, every time I change the DataContext of my Control. I have 3 GroupModel3D
s bound to different ObservableElement3DCollection
s like so:
<hx:GroupModel3D ItemsSource="{Binding SxxBoxes}" IsRendering="..." />
<hx:GroupModel3D ItemsSource="{Binding SyyBoxes}" IsRendering="..." />
<hx:GroupModel3D ItemsSource="{Binding SzzBoxes}" IsRendering="..." />
This only occurs, when I update the DataContext which already has Items in ItemsSource!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Binding issue after data context changed - wpf
So the best way, to solve the issue is to change the data in the VM assigned as DataContext instead of assigning another...
Read more >wsod when changing a datacontext if the gridview has a ...
I am using a gridview to display an entitycollection, if i remove an item from the entitycollection and re bind the datacontext it...
Read more >Customize Data Display with Data Binding and WPF
You can easily give any element in the window a different DataContext value, which causes all of that element's descendant elements to inherit ......
Read more >DataContext is not notified on changes
My question is if there is a way to avoid the reassigment of the DataContext and it gets notified every time CurrentCustomer changed....
Read more >Using T4 Generated DataContext with .Net Core ...
Hello, i look the article for Configuring LINQ To DB for ASP.Net Core and it's actually work. But when i create generated context...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe that error occurs because I have a GroupModel in a GroupModel in a DataTemplate of an ItemsModel?
Could you create a sample demo to show this issue?