Div on top of Silverlight

Have you tried overlaying a <div> on top of a Silverlight object? The only way to achieve this is by setting the Windowless property on the Silverlight object to true. Otherwise you will get get a result like figure 2.

Figure 1 – Windowless set to true.


Figure 2 – Windowless not set or set to false.


2 comments so far

  1. Olaf on

    Hi, I’m a flash/flex developer just getting started with Silverlight 2 development. When embedding Flash content you can set the WindowMode from “opaque” (default, similar to figure 2) to “transparent”. But this decreases performance dramatically. Do you have any idea how the Windowless setting affects performance in Silverlight applications?

  2. cschuman on

    Yes, setting Windowless to true is a HUGE performance hog.


    Set the Windowless property to true only when necessary. Performance is seriously impacted when in windowless mode (e.g. tearing in animations). Due to this, media playback is not recommended at all in windowless mode. (Microsoft Windows versions of Silverlight only)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: