Why does adding images to an ImageList in the Designer cause them to lose their alpha channel ?

Platform: WPF| Category: Image

It looks like the ImageList editor loses the transparency when it does some internal copy or clone of the images. However, it seems that it does work when you add the images in code to the ImageList. One workaround (not so tidy) is to add the images to the ImageList at design-time (so that your design-time will be closer to the run-time) and then clear that ImageList and refill it with the images in code.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.