Silverlight.PluginBackground Property

Gets or sets the color of the Silverlight plug-in background.

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

Syntax

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

value = instance.PluginBackground

instance.PluginBackground = value
[ThemeableAttribute(true)]
[BrowsableAttribute(true)]
public Color PluginBackground { get; set; }

Property Value

Type: Color
The color of the background for the Silverlight plug-in.

Remarks

To display the Silverlight content in a windowless mode in the HTML page viewed in the browser, you must set the Windowless property to true and set the PluginBackground property to a transparent color.

You can set the PluginBackground property to Transparent or to any ARGB value where the A byte (the alpha channel) is 0.

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

Windowless