Silverlight Background color problem
-
Hey all I added silverlight to an existing asp.net project and used asp:Silverlight control to embed the silverlight, everything works fine. I set color of my website body to LightGray but the silverlight control background is still showing white, I tried setting the control backcolor to Transparent but still no luck. Any help will be appresaited. Thanks.
-
Hey all I added silverlight to an existing asp.net project and used asp:Silverlight control to embed the silverlight, everything works fine. I set color of my website body to LightGray but the silverlight control background is still showing white, I tried setting the control backcolor to Transparent but still no luck. Any help will be appresaited. Thanks.
The background of the plugin object (what you see before any XAML is loaded) is set on the plugin object as described here: Background (Silverlight Plug-in Object)[^] Note the default is "white", and if you use transparent, I'm pretty sure you'll see black. Once there's Silverlight elements up, those elements will determine the background.
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
The background of the plugin object (what you see before any XAML is loaded) is set on the plugin object as described here: Background (Silverlight Plug-in Object)[^] Note the default is "white", and if you use transparent, I'm pretty sure you'll see black. Once there's Silverlight elements up, those elements will determine the background.
Mark Salsbery Microsoft MVP - Visual C++ :java:
Thanks for your reply, it helped me alote
Mark Salsbery wrote:
Note the default is "white", and if you use transparent, I'm pretty sure you'll see black.
It did show a black background, i just set the windowless property to true, now it shows perfect. Thanks again.