Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,
I need help to show an transparent WPF form with a Picture in my VB.NET application.
It must be an WPF form because of the real transparency in WPF.

Thank you in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 25-Oct-13 18:16pm    
Unlike System.Windows.Forms (better avoid using transparency there), everything in WPF can be done transparent. I don't even understand how it could be a problem.
http://www.whathaveyoutried.com so far?
—SA

1 solution

Please see my comment to the question. There is no such problem in WPF. Just look at this:
http://msdn.microsoft.com/en-us/library/system.windows.uielement.opacity.aspx[^].

And of course, exactly as in System.Windows.Forms, you can use semi-transparent color with alpha-channel, for appropriate color spaces:
http://msdn.microsoft.com/en-us/library/system.windows.media.color.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900