I need to use a control that is just a border, like transparent
System.Windows.Forms.Panel (I need to display form's background image). Can
you advice on what I can use or how to make Panel transparent?
Thank you.

RE: Transparent frame? by MortenWennevik

MortenWennevik
Thu Feb 21 05:54:00 CST 2008

Hi Gregory.

A Panel can be made transparent by setting its BackColor property to
Color.Transparent.

--
Happy Coding!
Morten Wennevik [C# MVP]


"Gregory Khra" wrote:

> I need to use a control that is just a border, like transparent
> System.Windows.Forms.Panel (I need to display form's background image). Can
> you advice on what I can use or how to make Panel transparent?
> Thank you.
>

RE: Transparent frame? by GregoryKhra

GregoryKhra
Thu Feb 21 08:36:01 CST 2008

Thank you. Just what I need. Is there a way to change border color for Panel
or GroupBox? ForeColor doesn't work.
Gregory