Represents the Silverlight browser plug-in.
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
'Declaration Public Class SilverlightPlugin 'Usage Dim instance As SilverlightPlugin
public class SilverlightPlugin
The purpose of the SilverlightPlugin class is to enable a custom control to easily render Silverlight content.
The SilverlightPlugin class has many of the same members as the Silverlight class. The SilverlightPlugin class does not have the members that apply to a control as a whole, such as the OnPluginResized property.
Developing a custom control with Silverlight content typically involves this general workflow:
Create a custom control project.
In the Render method, instantiate the SilverlightPlugin class.
Add a placeholder, such as a span or div element, where the Silverlight content will go.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.