locked
logout in window 8 phone in usercontrol RRS feed

  • Question

  • Please provide logout in window 8 phone  in usercontrol

    I am using 

     while (NavigationService.BackStack.Count() > 1)
                {
                    NavigationService.RemoveBackEntry();
                }
                if (NavigationService.CanGoBack)
                {
                    NavigationService.GoBack();              
    
                }

    but error

    An object reference is required for the non-static field, method, or property 'System.Windows.Navigation.NavigationService.BackStack.get' in usercontrol

    please explain how it implement in usercontril in window 8 mobile in xaml


    Deepak Gupta-(Project Manager)

    Friday, November 8, 2013 8:55 AM