title: Generally Preferred Method for a 'Wait' Screen using MVVM and Silverlight
body: <p>I'm moving along on a small proof of concept application.  This is mostly to beef up my MVVM skills within Silverlight.  I came across an interesting problem today that I could not figure how to solve the MVVM way. I wasn't successful finding anything relevant during search either.</p>
  
  <p>So on to the problem, I have a simple business type application with a database back end.  I have a login view and a view model attached that will perform the login and report success or failure.  No problem.  What I haven't been happy with just yet is a way to report a wait screen to the user.  So given my login screen, the user click Login and there's a delay of a couple of seconds while the database chatting is done.  I'd like to report this and disable any interaction until the call is completed.</p>
  
  <p>I had a couple of ideas.  First, bind the Cursor property to the viewmodel and the VM can set an IsBusy property to true.  Problem with this is that I cannot seem to bind to Cursor for the UserControl (Visual Studio says <code>AG_E_RUNTIME_MANAGED_UNKNOWN_ERROR</code>).</p>
  
  <p>Second idea is to have a wait screen.  You know, the little gears turning or whatever animation you want.  And that's fine, but it's not real clear to me how I could make the view toggle this through the model through the Xaml.  I know I could definitely hook up events and handle this in code.  Maybe that's the way to go?  Seems to against the MVVM grain just a bit.</p>
  
  <p>Would be interested in more ideas on how to handle this.</p>
  
  <p>Thank you.</p>