This documentation is archived and is not being maintained.

Label.RenderTransparent Property

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

[Visual Basic]
Protected Overridable Property RenderTransparent As Boolean
protected virtual bool RenderTransparent {get; set;}
protected: __property virtual bool get_RenderTransparent();
protected: __property virtual void set_RenderTransparent(bool);
protected function get RenderTransparent() : Boolean;
protected function set RenderTransparent(Boolean);

Property Value

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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Label Class | Label Members | System.Windows.Forms Namespace