MDI and WPF Ribbon

i noticed that the WPF Ribbon is bound to a XAML Usercontrol or window.

Lets imagine i have a windws.xaml page with a WPF Ribbon at the top.

I want to create an instance such that once i click on one of the WPF Buttons, i am taken to a different XAML UserControl or "page". How do i do this?

Will this new page have the WPF Ribbon on the top?

thanks

Answers


Can you use a Frame in a Window that showing a page and Navigate this?

<Frame
    Source="Page1.xaml"
    Name="frame1"  
    NavigationUIVisibility="Hidden" />

And then use

frame1.Navigate(new Uri("Page2.xaml", UriKind.Relative));

to Navigate from the button? (or use a command)


I describe how to do this in my blog using the mvvm pattern.

http://wegged.com/2010/08/23/use-the-new-wpf-ribbon-like-a-tab-control/


Need Your Help

fabric appears to start apache2 but doesn't

ssh ubuntu-10.04 python-2.6 fabric apache2.2

I'm using fabric to remotely start a micro aws server, install git and a git repository, adjust apache config and then restart the server.

How to make QTMovie play file from URL with forced (MP3) type?

objective-c cocoa mp3 qtkit progressive-download

I'm using QTKit to progressively download and play an MP3 from a URL. According to this documentation, this is the code I should use to accomplish that:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.