given a ProgressRing in the xaml such as,
ProgressRing x:Name="MyLoadingRing"
What is the recommended way to set this value to true, update the UI and then do a long running operation. For example a sqlite query.
I've tried
MyLoadingRing().IsActive(true);
MyLoadingRing().UpdateLayout();
This doesn't work. Do I need to make the long running operation Async? Seems like there should be a example of how to do this in c++winrt as it would be a very common need.
Edit: An example project that demonstrates the problem can be found here https://github.com/camccar/longloading