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.  http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract RenderTransparent : bool with get, set
[<ObsoleteAttribute("This property has been deprecated. Use BackColor instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
override RenderTransparent : bool with 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

Supported in: 1.1
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

.NET Framework Client Profile

Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft