locked
Linking pages using Expression Blend 4 (WPF) RRS feed

  • Question

  • Hello there,

    Currently, I have got different windows linking together. But whenever I click "Next" button(Which i created), it blinked once before it proceed to the next window.

     

    Hence, I would like  to know how to link Page instead. Anyone mind teaching/guiding??

    Wednesday, January 19, 2011 6:49 AM

All replies

  • Howdy,

     

    The following link provides a detailed overview of the Page navigation concepts in WPF:

     

    http://msdn.microsoft.com/en-us/library/ms750478.aspx

     

    Hope this helps.

     

    Cheers


    Expression MVP

    my blog : http://x-coders.com/blogs/sneaky/default.aspx

    Wednesday, January 19, 2011 3:26 PM
    Moderator
  • Hmm.. The link you gave is showing how to link page to page in an internet browser.

    As for my project, it is just an application project in WPF.

    I create a button on the first page so to link on the next one. Currently im using (Add item > Windows). And the C# coding i put inside the button is :


    private void installBtn_Click(object sender, RoutedEventArgs e)
            {
                ConnectionMenu MyApp = new ConnectionMenu();
                MyApp.WindowStartupLocation = WindowStartupLocation.Manual;
                MyApp.Left = this.Left;
                MyApp.Top = this.Top;
                MyApp.Show();
                this.Close();
            }

     

    But then I wanna use (Add item > Page) instead. And i know the coding for the button is different. But I have got no clue how to do it. Mind telling?

    Also,Im curious. Whats is the difference using (Add Page) and (Add Window)?

    Thursday, January 20, 2011 1:33 AM
  • Howdy,

    Maybe you want to revisit that link...

    It's about using the Page object in WPF applications and how to Navigate from one page to another which also includes navigating page objects in XBAPs which are WPF apps running inside browsers.

    Scroll right down the bottom of that link and you will see where it talks about the NavigationWindow class.

    Cheers


    Expression MVP

    my blog : http://x-coders.com/blogs/sneaky/default.aspx

    Thursday, January 20, 2011 7:47 AM
    Moderator
  • is it possible if you could explain step by step? Because I am really new using Expression Blend 4 and i dont actually understood much about the link you provided.
    Friday, January 21, 2011 3:45 AM