ProgressBar.ResetForeColor Method


Resets the ForeColor to its default value.

 override void ResetForeColor();
public override void ResetForeColor ();
override this.ResetForeColor : unit -> unit
Public Overrides Sub 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.

Applies to