--- title: "How to: Give Your Control a Transparent Background" ms.date: "03/30/2017" helpviewer_keywords: - "transparent backgrounds [Windows Forms], custom controls" - "custom controls [Windows Forms], transparent background" - "transparency [Windows Forms], Windows Forms custom controls" ms.assetid: 32433e63-f4e9-4305-9857-6de3edeb944a --- # How to: Give Your Control a Transparent Background In earlier versions of the .NET Framework, controls didn't support setting transparent backcolors without first setting the method in the forms's constructor. In the current framework version, the backcolor for most controls can be set to in the **Properties** window at design time, or in code in the form's constructor. > [!NOTE] > Windows Forms controls do not support true transparency. The background of a transparent Windows Forms control is painted by its parent. > [!NOTE] > The control doesn't support a transparent backcolor even when the property is set to . ### To give your control a transparent backcolor - In the Properties window, choose the property and set it to ## See also - - [Developing Custom Windows Forms Controls with the .NET Framework](developing-custom-windows-forms-controls.md) - [Using Managed Graphics Classes](../advanced/using-managed-graphics-classes.md) - [How to: Draw Opaque and Semitransparent Lines](../advanced/how-to-draw-opaque-and-semitransparent-lines.md)