Can a UserControl be made transparent?

Mar 10 2004 11:32 AM
I'm building a custom control ( UserControl ) in a windows control library. If you set the background color to transparent, you get a message saying you can't do it. However, on MSDN, I dug up this (which has to be in the control's constructor: SetStyle(ControlStyles.SupportsTransparentBackColor, true); this.BackColor = Color.Transparent; But even with this my control remains gray...

Answers (1)