Solved

Silverligh 2 beta 2 Image layering

Posted on 2008-06-19
2
460 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 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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