Monday, June 11, 2007

Silverlight Transparent Control Creation

Step1: Open page Default.aspx.js

Step2: Goto the function "createSilverlight"

Step3: set the isWindowless value to true.

Find the example bellow

function createSilverlight()
{
 Sys.Silverlight.createObjectEx({
  source: "Page.xaml",
  parentElement: document.getElementById("SilverlightControlHost"),
  id: "SilverlightControl",    
  properties: {
   width: "100%",
   height: "100%",
   version: "0.95",
   isWindowless:"true",
   background:"#00FFFFFF",

   enableHtmlAccess: true
  },
  events: {}
 });
}

Now run your application your silverlight control will be in transparent.

Hope this can be useful. Post your comments bellow.

7 comments:

Ishu Sathya said...


Read your blog, Excellent content written on "Silverlight Transparent Control Creation"

If you are looking for RPA related job with unexpected Pay, then visit below link


RPA Training in Chennai
RPA Course in Chennai
RPA Training
RPA Course
Robotic Process Automation Training in Chennai
Robotic Process Automation Training
RPA Training Institute in Chennai
RPA Training in Velachery
Robotic Process Automation Certification

มโน เอาเอง said...

ติดตาม ข่าวฟุตบอล ผลบอล ตามทีเด็ดฟุตบอลต่างประเทศ
กุนซือนอร์เวย์ ชู "ฮาแลนด์" เก่งเหมือน 2เทพ

UpdateNewth said...

Update News Manchester United
Alex Telles

chanee said...

Welcome to the world of my blog. Click here.
alcoholic-rats.com"
louvignecommunaute.org"

jangjang said...

https://googledoodlenewstoday.blogspot.com/2014/05/nokia-220-rm-969-latest-flash-file.html?showComment=1619087710121#c3273644715397222975

โรซ่า said...

Hello, we have a game to recommend.

รีวิวอุปกรณ์กีฬา
สมัครเว็บพนันบาคาร่า
แทงบอล-สูง-ต่ำ
หวยรัฐบาล-เล่นยังไง
ufaslot

Thank you for your interest."

John said...

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..บาคาร่าวอเลท