Reputation: 1063
I have a Panel. This panel has an opaque Background Image. I want to make it fade smoothly to 0 opacity. Since it hasn't a opacity property, what is the best way to make this effect?
I'm using Visual Studio 2012.
Thanks.
Upvotes: 1
Views: 1143
Reputation: 21743
Is it possible for you to use WPF to do this instead? It would be much easier. This is a bit of a trick in Winforms. If what you really need to fade is the image, and not the panel, you could try this: https://stackoverflow.com/a/960804/67038
Edit
Here's another example of fading an image: Fading out an image with transparency in WinForms UI (.NET3.5)
Upvotes: 1