阅读背景:

在WPF中导航到同一窗口中的不同视图

来源:互联网 

I have a WPF application that follows MVVM. I am able to design separate windows, but how can I navigate between different views in the same main window instead of launching every view in a different window. For ex - Consider, I have 2 views. Window1.xaml and Window2.xaml. Consider the third view CommonWindow.xaml. Now, within this CommonWindow.xaml I want to provide a toggle button. When I click this button it should load the Window1 and Window2 alternately within the CommonWindow.xaml. How can I achieve this? Is there any particular control in WPF that supports this kind of behavior?I have a WPF application that follows MVVM. I a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: