locked
Sketchflow go back from screen RRS feed

  • Question

  • Blend V 4.1 for SL5

    I have a screen that is used to find and select a document.  The idea is that the user can browse or search or select a recent document.  This screen can be invoked from many different places within the application, eg people need to find a document to attach to their expense claim, or to attach to a product description.  I am prototyping my SL5 application using SketchFlow.  I know how to make a button that navigate to another nominated screen but how can I make a button that goes back to the screen that invoked the search screen?


    Paul Linton

    Tuesday, November 13, 2012 5:23 AM

Answers

  • With Sketchflow you can simply right-click on say a button and select NavigateTo > Back.

    From code you can do this...

    private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
    		{
    			Microsoft.Expression.Prototyping.Services.PlayerContext.Instance.ActiveNavigationViewModel.GoBack();
    			
    			//Or Go Forward...
    			//Microsoft.Expression.Prototyping.Services.PlayerContext.Instance.ActiveNavigationViewModel.GoForward();
    		}
    ~Christine

    My Gallery

    • Marked as answer by PaulLinton Tuesday, November 13, 2012 9:28 PM
    Tuesday, November 13, 2012 4:34 PM