Dear All,
Since few months, I was developing Silverlight 5 Application, but while Deploying I got confused regarding configuring various param inside the application.
Basically, Integration of Silverlight with HTML can happen through two ways:
1. Using the object Tag.
2. Using the JavaScript helper files.
Here, I have listed out param Configurations with its Description, Type & Default value for object tag for Silverlight in HTML.
Since few months, I was developing Silverlight 5 Application, but while Deploying I got confused regarding configuring various param inside the application.
Basically, Integration of Silverlight with HTML can happen through two ways:
1. Using the object Tag.
2. Using the JavaScript helper files.
Here, I have listed out param Configurations with its Description, Type & Default value for object tag for Silverlight in HTML.
| Sr.No. | Parameter | Description | Type | Default | 
| 1 | allowHtmlPopupWindow | Specifies whether the HtmlPage.PopupWindow method is allowed. | Bool | Defaults to true for applications in the same domain, otherwise false. | 
| 2 | autoUpgrade | Specifies whether the plug-in should attempt to upgrade if minRuntimeVersion is newer than the current Silverlight version. | Bool | TRUE | 
| 3 | background | Plug-in background color. | Color Code | null i.e. White | 
| 4 | enableAutoZoom | Indicates whether the host (for certain platforms) can invoke zoom behavior that increases the DPI. | Bool | TRUE | 
| 5 | enableCacheVisualization | Indicates whether to use a non-production analysis visualization mode, which shows areas of a page that are being GPU accelerated with a colored overlay. Do not use in production code. | Bool | FALSE | 
| 6 | enableFramerateCounter | Indicates whether to display the current frame rate in the hosting browser's status bar (IE/Win only). | Bool | FALSE | 
| 7 | enableGPUAcceleration | Indicates whether to use graphics processor unit (GPU) hardware acceleration for cached compositions, which potentially results in graphics optimization. | Bool | FALSE | 
| 8 | enablehtmlaccess | Specifies whether the plug-in has full access to the browser DOM. | Bool | Defaults to TRUE for applications in the same domain, otherwise FALSE. | 
| 9 | enableNavigation | Indicates whether the hosted content in the Silverlight plug-in can use a HyperlinkButton to navigate to external URIs. | all: the hosted content can use HyperlinkButton to navigate to any URI. | all | 
| none: the hosted content cannot use HyperlinkButton for navigation to an external URI. Relative URIs for internal navigation are still permitted. | ||||
| 10 | enableRedrawRegions | Determines whether to visually indicate the areas of the plug-in that are being redrawn with each frame. This property is for performance tuning and visualization during development only; do not specify it for any deployed Silverlight-based application. | Bool | FALSE | 
| 11 | initParams | User-defined string of parameters. | Comma separated key=value pairs | - | 
| 12 | maxframerate | Specifies the maximum number of frames per second that the plug-in can render. The default is 60. | Integer | 60 | 
| 13 | minRuntimeVersion | Specifies the earliest version of the Silverlight plug-in required. | Version number | - | 
| 14 | onError | Error handler for parse and native code run-time errors. | JavaScript function name | - | 
| 15 | onFullScreenChanged | Function to call when the FullScreen property changes. | JavaScript function name | - | 
| 16 | onLoad | Function to call when the plug-in has finished loading in the DOM. | JavaScript function name | - | 
| 17 | onResize | Function to call when the plug-in size changes. | JavaScript function name | - | 
| 18 | onSourceDownloadComplete | Function to call when the source download has completed. | JavaScript function name | - | 
| 19 | onSourceDownloadProgressChanged | Function to call when the source download progress changes. | JavaScript function name | - | 
| 20 | onZoom | Specifies the handler for a Zoomed event that occurs when the Silverlight plug-in content area receives a host-generated zoom event. | JavaScript function name | - | 
| 21 | source | Specifies the address or relative path of either an initial XAML file or XAP. | URI | - | 
| 22 | splashScreenSource | Specifies a XAML page to use as the splash screen. | URI | - | 
| 23 | windowless | Specifies the rendering mode for the plug-in for Windows versions of Silverlight. | Bool | FALSE | 
Hope all have found many tags which they might not have came across, but any ways, its basic although I felt to put over my blog.
Do feel free to post your Suggestion & Comments, whether any param is missed up by me. If at all needed I will update this.
Cheers,
Viral Rathod
viralrathod.blogspot.com
No comments:
Post a Comment