SilverlightPlugin Members

Include Protected Members
Include Inherited Members

Represents the Silverlight browser plug-in.

The SilverlightPlugin type exposes the following members.

Constructors

  Name Description
Public method SilverlightPlugin Initializes a new instance of the SilverlightPlugin object.

Top

Methods

  Name Description
Protected method AddAttributesToRender Adds HTML attributes and styles to render with the specified HtmlTextWriter instance. This method is primarily used by control developers.
Public method CreateObject Writes the object element and parameters for the Silverlight content.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetSilverlightParameters Returns the Silverlight plug-in parameters.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Render Renders the control by using the specified HtmlTextWriter instance.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Attributes Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
Public property AutoUpgrade Gets or sets a value indicating whether the Silverlight plug-in should automatically be upgraded.
Public property Background Gets or sets the background color of the rectangular region that displays the Silverlight content.
Public property CssClass Gets or sets the name of a CSS class for the Silverlight plug-in.
Public property EnableFrameRateCounter Gets or sets a value that indicates whether to display the current frame rate in the hosting browser's status bar.
Public property EnableRedrawRegions Gets or sets a value that determines whether to show the areas of the plug-in that are being redrawn with each frame.
Public property Height Gets or sets the height of the area of the Silverlight plug-in.
Public property HtmlAccess Gets or sets a value that indicates whether to allow the Silverlight-based application to access the HTML page Document Object Model (DOM).
Public property Id Gets or sets an identifier for the Silverlight plug-in.
Public property InitParameters Gets or sets an optional set of user-defined initialization parameters.
Public property MaxFrameRate Gets or sets the maximum number of frames to render per second.
Public property MinimumVersion Gets or sets a value that indicates the minimum Silverlight plug-in host version that is required for this Silverlight-based application.
Public property OnError Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in generates a run-time error.
Public property OnFullScreenChanged Gets or sets the name of the client JavaScript function (event handler) that is called when full-screen mode is toggled.
Public property OnLoad Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in loads.
Public property OnResized Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in is resized.
Public property OnSourceDownloadCompleted Gets or sets the name of the client JavaScript function (event handler) that is called when the plug-in source has been completely downloaded.
Public property OnSourceDownloadProgressChanged Gets or sets the name of the client JavaScript function (event handler) that is called when the plug-in source download progress changes.
Public property Source Gets or sets the URL of the Silverlight source.
Public property SplashScreenSource Gets or sets the URL of the splash screen document to render when the Source property document is loading.
Public property Style Gets the CSS styles that are applied to the Silverlight plug-in.
Public property Width Gets or sets the width of the area of the Silverlight plug-in.
Public property Windowless Gets (or sets in initialization only) a value that specifies whether the Silverlight plug-in displays as a windowless plug-in. (Applies to Windows versions of Silverlight only.)

Top

See Also

Reference

SilverlightPlugin Class

System.Web.UI.SilverlightControls Namespace