Label.RenderTransparent Property

Note: This API is now obsolete.

Indicates whether the container control background is rendered on the Label.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[ObsoleteAttribute("This property has been deprecated. Use BackColor instead.")]
protected virtual bool RenderTransparent { get; set; }

Property Value

Type: System.Boolean

true if the background of the Label control's container is rendered on the Label; otherwise, false. The default is false.

Classes that inherit from Label can override this method to determine whether the derived control background will be rendered transparently on the form on which the control is drawn.

.NET Framework
Available since 1.1
Return to top