This documentation is archived and is not being maintained.
Control.ResetForeColor Method
.NET Framework 1.1
Resets the ForeColor property to its default value.
[Visual Basic] Public Overridable Sub ResetForeColor() [C#] public virtual void ResetForeColor(); [C++] public: virtual void ResetForeColor(); [JScript] public function ResetForeColor();
Remarks
You typically use this method if you are either creating a designer for the Control or creating your own control incorporating the Control.
Requirements
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
Show: