C
C#16mo 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
Anton16mo ago
the idea is right, show the code
ACiDCA7
ACiDCA716mo 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
canton716mo ago
Also check the Output window for binding errors
Accord
Accord16mo 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
More Posts
❔ ✅ Best practice for tracking progress for long running methodI am creating a Blazor Server application. I have a method that is compiling some data from a few se❔ So I've created a downloader, how do I link a progress bar to it? Winform, .NET frameworkhere's my code (website down rn): ```private void button1_Click(object sender, EventArgs e) ❔ Downloading string from webclient isnt responding properly to my if statement.So im trying to make a version check by grabbing the data from a raw github link, it gets the data b❔ how to make an API callI have tried looking up tutorials but they ended up making me more confused. I want to take a string❔ Best approach to share several properties application-wide in a WinUI3 project?Hi, I am looking for the preferred way, following the best practices for a small scale desktop appli❔ Blazor communicate with WebAPI on localhost serverHello, I want to start making a staging environment for my application, I got a WebAPI ready and wor❔ Get Pixels cords from Image by their colorHey, I'm writing a game and I need to get the pixels cords by their colors from an Image, I tried us❔ Storing & retrieving face encodings to compareWhat's the best way to store face encodings (an array of size 128 and type float64) in a database an❔ New to C# and am trying to make a Minesweeper console appI am having trouble with my "UpdateBoard" method and I can not seem to figure out what the problem i❔ System.Data.OleDb.OleDbException: 'Could not find installable ISAM.' errorHi anyone can help me? i start the test and i got System.Data.OleDb.OleDbException: 'Could not find