Visual Studio provides designer support to enable Silverlight-based applications to run outside the browser. This topic describes the basics of this designer support and the configuration outside of the browser.
Description
If your external browser application requires network-based resources that are typically loaded after startup, you also need to implement offline support.
Configure external browser support
In Solution Explorer, select the Silverlight project for which you want to enable external browser support.
On the Project menu, select the project name properties.
On the Silverlight tab, select Enable running application out of the browser.
The Out-of-browser Settings dialog box appears.
Specify a value for the indicated field, and then click OK. All fields except the following fields are optional:
Window Title
Shortcut name
Download description
The following table indicates where each value is used and the corresponding property of the Outofbrowsersettings or Windowsettings class.
Field |
Description |
Property |
Window Title |
Appears in the title bar of the application window outside of the browser. |
Title |
Width and Height |
Indicates the size of the application window outside the browser. |
Width and Height |
Shortcut name |
Appears in the External Browser Installation dialog box and on the installed application shortcuts. |
ShortName |
Download description |
Appears as a tooltip on an installed application shortcut. |
Blurb |
Icon Fields |
The operating system will select the most appropriate icon to display in the following locations:
Setup dialog box.
The application window.
Windows Explorer.
Windows task bar.
Macintosh Docking Bar. |
Icons |
Enable GPU acceleration |
Indicates whether to enhance graphics performance by using hardware acceleration. |
Enablegpuacceleration |