Foreground Settings in Windows Forms Gradient Label

27 Apr 20211 minute to read

This section illustrates the foreground settings of the GradientLabel control.

DrawActiveWhenDisabled

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