Export (0) Print
Expand All

ProgressBar.ResetForeColor Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Resets the ForeColor to its default value.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override void ResetForeColor()

Calling this method will reset the ForeColor to Highlight unless the method is overridden in a derived class. The ResetForeColor method is useful when you create a designer for the control, or you are creating your own control that incorporates the ProgressBar.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft