SilverlightFrame

Version: 9.0

You use the SilverlightFrame control to embed a Silverlight plug-in in a SPEAK page. You can set a number of properties, and SPEAK uses these properties to instantiate the Silverlight plug-in.

Note

You cannot interact with the Silverlight plug-in in JavaScript at runtime from SPEAK.

Properties

Name

Description

Default

Data

AppName

Specify the name of the Silverlight plug-in.

AutoUpgrade

If true, a Silverlight plug-in that is an earlier version than the version specified in the MinRuntimeVersion property will attempt to update automatically.

Height

Specify the height of the frame the control creates in pixels or percent.

100%

InitParams

Specify a string that represents a set of user-defined initialization parameters. The format of the value is also user-defined.

MinRuntimeVersion

Specify the version of Silverlight that is required by the Silverlight component. See also the AutoUpgrade property.

The currently installed version, or null if Silverlight is not installed.

OnError

Specify the name of the function that Silverlight calls when the plug-in generates a parse or runtime error at the native-code level.

Null

OnLoad

Specify a handler for the Loaded event that occurs when the Silverlight plug-in has finished loading into the browser DOM.

Null

ScriptFile

Specify the name of a file that contains JavaScript for the Silverlight component.

Note

This is the JavaScript that the control uses, and not the JavaScript that SPEAK executes.

Source

Specify the URI of the content or package to load into the Silverlight plug-in.

Null

Width

Specify the width of the SilverlightFrame control in pixels or percent.

100%

WindowLess

If True, the Silverlight plug-in is displayed as a windowless plug-in.

True

Do you have some feedback for us?

If you have suggestions for improving this article,