Sys.UI.Silverlight.Control

Provides the client base type for the Silverlight server control.

Namespace: Sys.UI.Silverlight.

Inherits: Sys.UI.Control

Syntax

Sys.UI.Silverlight.Control = function(domElement)

Usage

var a = new Sys.UI.Silverlight.Control(varHost);

Public Constructors

Name

Description

Control Constructor

Creates a new instance of the Control class.

Members

Member

Description

scaleMode Property

Gets or sets how the Silverlight document should be scaled to fit in the Silverlight host.

source Property

Gets or sets the source document of the Silverlight plug-in.

splashScreenSource Property

Gets or sets the splash screen image to render while the document that is referenced in the Sys.UI.Silverlight.Control.source property is loading.

addEventListener Method

Called to add an event handler function that listens to an event on a Silverlight element.

removeEventListener Method

Called to remove an event handler function from listening to an event on a Silverlight element.

dispose Method

Disposes the control.

initialize Method

Initializes the control.

onPluginError Method

Called when a Silverlight error occurs.

onPluginFullScreenChanged Method

Called when full-screen mode is toggled.

onPluginLoaded Method

Called when Silverlight has loaded the specified source.

onPluginResized Method

Called when Silverlight has been resized.

pluginDispose Method

Called on disposal when Silverlight has been previously loaded.

pluginError Event

Occurs when a Silverlight plug-in error is raised.

pluginFullScreenChanged Event

Occurs when the Silverlight full-screen mode changes.

pluginLoaded Event

Occurs when the Silverlight plug-in has loaded.

pluginSourceDownloadComplete Event

Occurs when the document specified in the source Property is completely downloaded.

pluginSourceDownloadProgressChanged Event

Occurs when there is a change in the percentage of an application that is downloaded.

pluginResized Event

Occurs when the Silverlight plug-in has been resized.

Remarks

This topic is ASP.NET Extensions documentation and is unsupported by Microsoft. Blank topics are included as placeholders and existing content is subject to change in future releases.