Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ resources

2. Windows Forms Controls

2.31 How can I make a Panel or Label semi-transparent on a Windows Form?


You can make a panel or label transparent by specifying the alpha value for the Background color.

panel.BackColor = Color.FromArgb(65, 204, 212, 230);

In the designer you have to enter these values manually in the edit box. Don't select the color using the ColorPicker.