Application
deployable file formats:
(1)Standard Executable;
(2)XAML Browser Application(xbap,not sl-related,simple deployment approach);
xbap程序相较于wpf应用程序,window1.xaml替换为page1.xaml,另外,扩展名为.pfx的文件用于clickonce部署;
(3)pure XAML file;
(纯粹的xaml无代码文件的功能已经很强,可在kaxaml中运行见效果 附件1;xbap运行 附件2)
wpf built-in application model:
window-based model(conventional);
navigation application(page approach,'very good!',见 附件3/4);
<Hyperlink NavigateUri=”Page2.xaml”>Click Me</Hyperlink>
<Frame Source=”Page1.xaml” />

User Controls:
using scenario 1,have a portion of the interface that is being used in more than one location;
using secnario 2,when the intention of the interface is obscured by supporting elements,so make portions of the interfaces;
小结:
很明显,xaml是一种特征式AS编程.
本文探讨了XAML在应用程序部署中的多种格式,包括标准可执行文件、XAML浏览器应用程序(xbap)及纯XAML文件。同时介绍了WPF内置的应用程序模型,如基于窗口的模型和导航应用模型,并讨论了用户控件的使用场景。
155

被折叠的 条评论
为什么被折叠?



