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
Solved

Silverligh 2 beta 2 Image layering

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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 extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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…
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…

809 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