如何将window.xaml文件托管到page.xaml文件中? [英] How to host window.xaml file into page.xaml file?
本文介绍了如何将window.xaml文件托管到page.xaml文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请问是否有人知道如何将基于Windows的xaml文件应用程序托管到基于页面的xaml文件中?
Balaji
Please any body know about how to host the windows based xaml file application into page based xaml file?
Balaji
推荐答案
这是不可能的.如果您想在另一个XAML文件中托管一个XAML文件,请构建一个UserControl(并直接对其进行托管)或构建一个Page(并通过Frame元素对其进行托管).
It is not possible. If you'd like to host a XAML file inside of another XAML file, build a UserControl (and host it directly) or build a Page (and host it via a Frame element).
感谢Rob Relyea
WPF/Silverlight/XAML团队
http://robrelyea.com/blog
@rrelyea(Twitter)
Thanks, Rob Relyea
WPF/Silverlight/XAML Team
http://robrelyea.com/blog
@rrelyea (twitter)
这篇关于如何将window.xaml文件托管到page.xaml文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文