Share via


Silverlight.ScriptType Property

Gets or sets the type name of the client JavaScript object to create and to associate with the Silverlight plug-in.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
<ThemeableAttribute(True)> _
<BrowsableAttribute(True)> _
Public Overridable Property ScriptType As String
    Get
    Set
'Usage
Dim instance As Silverlight
Dim value As String

value = instance.ScriptType

instance.ScriptType = value
[ThemeableAttribute(true)]
[BrowsableAttribute(true)]
public virtual string ScriptType { get; set; }

Property Value

Type: System.String
The fully qualified type name.

Remarks

For Silverlight 1.0 content, the DefaultScriptType property associates a JavaScript class with the Silverlight plug-in.

This property is not used for Silverlight 2 (managed) content.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Silverlight Class

Silverlight Members

System.Web.UI.SilverlightControls Namespace

Other Resources

Walkthrough: Integrating XAML into an ASP.NET Web Site Using JavaScript