?
Solved

Silverligh 2 beta 2 Image layering

Posted on 2008-06-19
2
Medium Priority
?
461 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
adler77 earned 1500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

770 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