I’ve already done it quite easily in the past with Silverlight, by declaring a BusyIndicator as my root element, and binding the IsBusy property to the IsLoading property of the domain context generated by RIA Services:
<toolkit:BusyIndicator IsBusy="{Binding Context.IsLoading}" >
Since there seems to be no IsLoading property on the ObjectContext generated by Entity Framework, how can I bind the IsBusy property in WPF?
Thank you
What I came up with:
Busy Indicator from the WPF Extended Toolkit:
In my base class view model, I’ve added the following method:
When I want to load a collection from the server, I can call from a derived view model:
There’s also a more robust & complete solution on CodeProject:
http://www.codeproject.com/KB/WPF/ThreadingComponent.aspx?msg=3319891