代码改变世界

XAML applications can run in one of two ways

2007-06-11 16:04  Zhuang miao  阅读(286)  评论(0编辑  收藏  举报

XAML applications can run in one of two ways:

 

 

XAML browser applications: They can run as XAML browser applications where they are

 

hosted in the browser. They are not run on a user’s system and cannot run offline. From a

  

security point of view, they execute in the Internet security zone, which limits their access

 

to system resources. Because of this higher level of safety, they do not require user permission

to run.

 

 

Installed applications: They can also run as installed applications. These applications will

 

either be hosted in a stand-alone window (like any Windows application, as shown


in Figure 2-1) or be hosted in the WPF navigation window (see Figure 2-2). This


window contains a navigation band at the top of the client region with forward and


backward buttons. This band is overridable by developers who want to build their own


navigator, and to that end the navigation window is programmable through the


System.Windows.Navigation.NavigationWindow class. This is beyond the scope of this


book, but you can check out the Windows software development kit (SDK) documentation


for this class for details about how to do this. Each type has full access to system


resources.