Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

protected:
[ObsoleteAttribute("This property has been deprecated. Use BackColor instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
property bool RenderTransparent {
	virtual bool get();
	virtual void set(bool value);
}

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
Show:
© 2017 Microsoft