OnNavigatedFrom and BusyIndicator

Topics: Prism v4 - WPF 4
Oct 10, 2011 at 1:17 PM


I have IsBusy bool property in my ViewModel which is bind to BusyIndicator.IsBusy property. When I changed property to true when OnNavigatedFrom event occurs it doesn't show the busy content.


private bool _isBusy;

public bool IsBusy


   get { return _isBusy;}

   set { _isBusy = value; RaisePropertyChanged(()=>IsBusy);


public void OnNavigatedFrom(NavigationContext navContext)


    IsBusy = true;


View is created by regionManager.RequestNavigate method. What should I do to see BusyIndicator before new view appear.


Thank you for help.

Oct 11, 2011 at 4:03 AM

At that point the view has been deactivated. So the busy indicator wont show up. You should probably handle the busy indicator in your shell, which swaps views in the main region.