ProgressBar::ResetForeColor Method ()

 

This API supports the product 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:
virtual void ResetForeColor() override

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
Available since 2.0
Return to top
Show: