Solved

Silverligh 2 beta 2 Image layering

Posted on 2008-06-19
2
448 Views
Last Modified: 2013-11-12
Hello,

I am new to Silverlight and trying to figure out how to layout multiple images and how does the transparent are work. The requirement I have is to layer multiple images. The top image has some transparent area and I would expect to see the other image from this transparent area. It is displaying white area instead. I used Canvas, inserted images, and set z-index. I used .PNG images.

I am not sure if it is possible with Silverlight. Can you please give me recommendation?
0
Comment
Question by:MatDev
2 Comments
 
LVL 8

Accepted Solution

by:
adler77 earned 500 total points
ID: 21828360
Are these 24-bit PNGs (with alpha) or 8-bit? Silverlight doesn't support 8-bit very well (officially, it may not support them at all) and you don't get any transparency. Also, do the <Canvas> objects have a background color set to them?

If possible, it may help if you post your code/images here.
0
 

Author Comment

by:MatDev
ID: 21832409
It was 8-bit image. I changed it to 24-bit and it worked. Thanks for you help.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now