C
C#2y ago
Matt

❔ WPF Observable Collection

Hallo, working on a window which displays a console pretty much. Made the console using an observable collection of strings and using a write method to add a string to the collection. For some reason, the collection refuses to display anything in the GUI. Any idea why this might be? (Very beginnery when it comes to wpf as I am not the person doing the front end but we're both stumped)
4 Replies
Anton
Anton2y ago
the idea is right, show the code
ACiDCA7
ACiDCA72y ago
if you are using a observable collection i assume you are using bindings, check if datacontext is set properly and the path of the binding is correct
canton7
canton72y ago
Also check the Output window for binding errors
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server