tags:

views:

134

answers:

2

Is this possible?

I used a Frame control and: show(ex:showwindow.xaml)

But I get this error:

root element is not valid for navigation

A: 

sure you can navigate (show) a window by using:

YourFrame.Navigate(YourWindow);

However I don't like much this multi-window approach, better create some user controls for segmenting your application.

Valko
A: 

It is more common to use the Page class with the Frame control. Windows, in WPF are the top level items, with their own titlebar, chrome etc. Also, the Page can tap into the NavigationService provide by the framework.
more info about Navigation from Microsoft

Walt Ritscher