Quick Win Series - Silverlight Background Transparency With "Orcas"
Yes, me too. I ran into the problem currently and I was puzzeled however when digging a little more into the issue I found out that the root for this effect is that when "Orcas" creates the XAML file for your application the generator sets properties on the root canvas of the file like this:
xmlns=" http://schemas.microsoft.com/client/2007 "
xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "
The same thing does Expression Blend 2 May Preview by the way which is a sign of consistency in the code generators ;). So you probably already identified the conflicting property, it is the fact that the background property of the main Canvas is set to a solid white color brush which overrides the transparent setting for the Silverlight control as the Canvas fills the whole screen real estate of the control. So simply delete the property from the XAML and you will have the expected behaviour. Removing the "Height" and "Width" properties will basically have the same effect however I'm not quite sure if this will impact your Layout at some stage as this Canvas is the UI Root container.