TX Text Control .NET for WPF

ResetBackColor Method

Method|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Resets the BackColor property to its default value. The default value is the system color for the window background.

Syntax

public void ResetBackColor();

Examples

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

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