This documentation is archived and is not being maintained.

Control.ResetForeColor Method

Resets the ForeColor property to its default value.

[Visual Basic]
Public Overridable Sub ResetForeColor()
public virtual void ResetForeColor();
public: virtual void ResetForeColor();
public function ResetForeColor();


You typically use this method if you are either creating a designer for the Control or creating your own control incorporating the Control.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | ForeColor