Basically I have a C# WinUI3 app which has a function which runs a process, and I wanted it to make some text labels visible to show the user what the app is doing, however even though I've set the visibility as visible, it doesn't get changed until all the functions have finished running and the button just stays clicked and looks as if the app is hanging even though it hasn't.Here's a photo of my code.
I have no idea where to start to fix this, I've looked up my problem and haven't seem to have found any answers so far. Sorry if I've done something wrong in my post, I'm pretty new to stack overflow