Foreground Settings in Windows Forms Gradient Label

9 Dec 2019 / 1 minute to read

This section illustrates the foreground settings of the GradientLabel control.


Disabled text can be drawn active using the below given property.

GradientLabel Property Description
DrawActiveWhenDisabled Gets / sets a value indicating whether the text should be drawn active when the control is disabled. The default value is set to 'False'.
this.gradientLabel1.DrawActiveWhenDisabled = true;
Me.gradientLabel1.DrawActiveWhenDisabled = True