ResetForeColor Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Overridden. Resets the ForeColor property to its default value. The default value is the system color for the window text.
Syntax
public override void ResetForeColor();Public Overrides Sub ResetForeColor()Examples
The following example restores the fore color setting on the text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetForeColor();
Console.WriteLine("Text Control is ready for use.");textControl.ResetForeColor()
Console.WriteLine("Text Control is ready for use.")