Make control transparent background Silverlight 3

You need to make the transparent Silverlight control basic HTML. I do it the way I saw it before, but something is not jiv ...

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
            width="640px" height="296px">
            <param name="source" value="ClientBin/slvStartPage.xap" />
            <param name="onError" value="onSilverlightError" />
            <param name="pluginbackground" value="Transparent" />
            <param name="iswindowless" value="true" />
            <param name="minRuntimeVersion" value="3.0.40624.0" />
            <param name="autoUpgrade" value="true" />
            <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration: none">
                <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"
                    style="border-style: none" />
            </a>
        </object>
+3
source share
1 answer

Parameter names are invalid: -

  • iswindowless → no windows
  • pluginbackground → background

Of course, the control you are assigning Application.RootVisualalso needs a transparent background and everything else that can fill its space.

+3
source

Source: https://habr.com/ru/post/1735628/


All Articles