TX Text Control .NET for Windows Forms

ResetForeColor Method

Method
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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();

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.");