ProgressBar.ResetForeColor Method

Definition

Resets the ForeColor to its default value.

public:
 override void ResetForeColor();
public override void ResetForeColor ();
override this.ResetForeColor : unit -> unit
Public Overrides Sub ResetForeColor ()

Remarks

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