The new out of browser experience in Silverlight 3 enables users to place their favorite Silverlight applications directly onto their PC and Mac, with links on the desktop and start menu-all without the need to download an additional runtime or browser plug-in. Further, the new experience enables Silverlight applications to work whether the computer is connected to the Internet or not-a radical improvement to the traditional Web experience.
This topic will show you how to use them.
The values in the Out-of-Browser Settings dialog box are used to generate an OutOfBrowserSettings.xml file located in the project Properties folder. Any changes to this file are reflected in the designer. This file is used to populate the application manifest (AppManifest.xaml) with the specified values.
Window Title,Shortcut name,Application description
Field | Description |
---|---|
Window Title | Appears in the title bar of the out-of-browser application window. |
Width and Height | Indicates the initial dimensions of the out-of-browser application window. |
Shortcut name | Appears in the out-of-browser installation dialog box and on the installed application shortcut or shortcuts. |
Download description | Appears as a tooltip on the installed application shortcuts. |
Icons | The operating system chooses the most appropriate icon to display in the following locations:
|
Use GPU Acceleration | Indicates whether graphics performance is enhanced by using hardware acceleration. |
If you do not specify Width and Height values, the application window will use a default size of 800x600. If you do not specify icons, default icons will be used. If you do specify icons, you should specify one for each size indicated in the designer (16x16, 32x32, 48x48, and 128x128). Icons must be .png files that you have added to the project and that have Build Action values of Content. Additionally, the .png files must be of the indicated dimensions. The operating system will choose the most appropriate size to use in different situations. If an appropriate icon cannot be loaded, the default icon will appear.
To install a properly configured Silverlight application, a user right-clicks the application within its host Web page or its offline application ,then selects Install onto this computer. This causes the following dialog box to appear, which enables the user to specify the location of the application shortcuts.