TX Text Control .NET for Windows Forms

ResetBackColor 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 BackColor property to its default value. The default value is the system color for the window background.

Syntax

public override void ResetBackColor();

Examples

The following example restores the back color setting on the text control to its default. The created object is then available to the surrounding document workflow.

textControl.ResetBackColor();
Console.WriteLine("Text Control is ready for use.");