Gets (or sets in initialization only) a value that determines whether the Silverlight plug-in displays as a windowless plug-in. (Applies to Windows versions of Silverlight only.)
Windowless - but is read-only to managed code. Can only be set during instantiation / object tag parameters.
This property is available on the settings subobject of a Silverlight plug-in instance. It can be set only as an initialization parameter and is read-only for scripting thereafter. On Macintosh computers, this property has no effect either at initialization or at run time, and the behavior is always windowless. See Windowless (Silverlight Plug-in Object).
In windowless mode, the Silverlight plug-in does not have its own rendering window. Instead, the plug-in content is displayed directly by the browser window. This enables Silverlight content to visually overlap and blend with HTML content if the plug-in and its content both specify background transparency. For more information, see Background (Silverlight Plug-in Object). You can also display HTML content on top of Silverlight content in windowless mode.
Windowless mode is useful to achieve certain effects, but it has significant limitations. Therefore, you should use windowless mode only when it is necessary. In particular, complex animations and high definition video content will not perform well in windowless mode. To compensate, you can adjust the frame rate for Silverlight content by using the MaxFrameRate property. However, you should also test your code with a variety of platforms and browsers when you use windowless mode.
The limitations of windowless mode are as follows:
Performance issues. Windowless mode is computationally expensive, especially in combination with a transparent plug-in background. For more information, see Performance Tips.
No support for passing mouse input to HTML content that the plug-in overlaps, even if the plug-in has a transparent background. To process mouse input through HTML, the HTML must overlap the Silverlight plug-in.
No mouse capture support outside the boundary of the plug-in.
No accessibility or IME support.
No support for windowless mode in full-screen mode.
No support for suppressing popup blockers when using hyperlink navigation to new windows. Also, note that popup blocker suppression is not supported on Safari regardless of the windowing mode.
Issues because of browser and platform limitations:
Visual tearing in animation and video playback on Windows XP, on Windows Vista with DWM disabled, and in Internet Explorer, regardless of platform.
Unreliable rendering when overlapping HTML content in Safari.
Focus issues in Mozilla-based browsers. When the focus moves between the plug-in and other plug-ins or HTML controls, multiple controls will sometimes appear to have focus.
In the earliest versions of the Silverlight.js helper file, the CreateObject and CreateObjectEx functions called this initialization parameter isWindowless. In recent versions, you can use either windowless or isWindowless.
isWindowless:'false', // Display as windowed plug-in. background:'#80008080', // Background color of plug-in (alpha + RGB).
isWindowless:'true', // Display as windowless plug-in. background:'#80008080', // Background color of plug-in (alpha + RGB).
Notice the displayed output of the preceding plug-in initializations. The background of the first Silverlight plug-in is opaque. The background of the second Silverlight plug-in is blended with the background image of the HTML page.
The following illustration shows a TextBlock displayed as a windowless plug-in on a Microsoft Virtual Earth mashup. The Background value of the plug-in is "#00000000", which is completely transparent. In addition, the Opacity (UIElement) of the TextBlock is set to 0.7, which enables the map underneath to partially show through the text.