Plip's Weblog

Phil Winstanley - British .NET chap based in Lancashire. Enjoys tea and tech. Working for Microsoft.

Silverlight isWindowless (Transparent background of the canvas)

I made this mistake earlier so wanted to share my problem and solution with you.

Watching a Video of a session from MIX '07 that Mike Harsh presented and he walks through creating a transparent canvas, except copying his code just didn't work: -

 

DidntWork

 

What I needed to do rather was this (note one's a string and the other is an embedded boolean - dunno why, but that seemed to have sorted it): -

 

Working

 

 

We've got MIX UK coming up in a couple of weeks, should be lots of cool Silverlight stuff shown off there :)

 

Technorati Tags: , , ,

Comments

Yosi Taguri said:

"Transparent" would have make it work too, notice the capiatal letter.

# August 26, 2007 3:45 AM

KC said:

You're absolutely a saviour Phil....Thank You so much!

# January 1, 2008 5:00 AM

Katty Smith said:

Wow, certainly great post. Where will I get your subscription?

Katty  Smith

<a href="www.wirelesscameradetectors.com/">prevent security</a>

# November 11, 2010 1:19 AM