Caliburn.micro busy indicator when loading control

Topics: Framework Services, Getting Started
May 22, 2012 at 10:24 AM

I would like to present the user a loading indicator when a control is loading (some grids need a while to load - before even doing any data operation). Is there a way to display this indicator when caliburn.micro is initializing the control?

May 22, 2012 at 10:50 PM

If you want to control the busy indicator from the viewmodels I think you should consider writing an "busy service" that you can inject into the viewmodels. Some ideas on how to do this are available here:

http://caliburnmicro.codeplex.com/discussions/221527

I might seem complex but basically it just looks upwards for the nearest busy indicator and turns it on or off.