ProgressBar.ResetForeColor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.