Trasparent panel
-
i am creating a C# application,the main form has a background image. i want to put another panel on top but it should be trasparent. i want to see the back ground image. how can i make the panel trasparent?
My small attempt...
-
i am creating a C# application,the main form has a background image. i want to put another panel on top but it should be trasparent. i want to see the back ground image. how can i make the panel trasparent?
My small attempt...
Set the panel background color to transparent should do the trick
-
Set the panel background color to transparent should do the trick
but i tried that. but i didnt work
My small attempt...
-
Set the panel background color to transparent should do the trick
i removed the panel and added the label but the samething happening i cant change it to transparent. there is an option in backcolour to set transparent but it shows a gray colour only
My small attempt...
-
i am creating a C# application,the main form has a background image. i want to put another panel on top but it should be trasparent. i want to see the back ground image. how can i make the panel trasparent?
My small attempt...
Hello, I have made a little test project, where it works just fine with the transparent color set to the panel and label! I know that there a problems with transparency in multiple cases (TransparencyKey, Transparent Color, ...). If you search the web you will find a lot off peaple sharing the same problem. One hint could be, that there are some graphic cards (processors) who have problems with transparency in compination with 32 bit Color quality. So as a quick test you could set Color Quality to 16 bit. Hope it helps, Martin
-
i am creating a C# application,the main form has a background image. i want to put another panel on top but it should be trasparent. i want to see the back ground image. how can i make the panel trasparent?
My small attempt...
Change the opacity value. If your Panel does not support Transparent background (try changing background color to transparent from the properties window ), then you should implement your custom panel using : this.SetStyle(ControlStyles.SupportsTransparentBackColor | Opaque, true); in your constructor. Then playing with the opacity value of your control, you can make it as much transparent as you want. Hope this helps...
-
Change the opacity value. If your Panel does not support Transparent background (try changing background color to transparent from the properties window ), then you should implement your custom panel using : this.SetStyle(ControlStyles.SupportsTransparentBackColor | Opaque, true); in your constructor. Then playing with the opacity value of your control, you can make it as much transparent as you want. Hope this helps...
both didnt work how can i chage the transparency with Opaque?
My small attempt...
-
both didnt work how can i chage the transparency with Opaque?
My small attempt...
Check this out: http://www.c-sharpcorner.com/UploadFile/ShrutiShrivastava/TransparentPanelinCSharp11232005015233AM/TransparentPanelinCSharp.aspx Alpha blending may also help. Blumen
-
Check this out: http://www.c-sharpcorner.com/UploadFile/ShrutiShrivastava/TransparentPanelinCSharp11232005015233AM/TransparentPanelinCSharp.aspx Alpha blending may also help. Blumen
its not showing the bacg ground image
My small attempt...