TX Text Control .NET for WPF

TextControl Constructor

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

Description

Initializes a new instance of the WPF.TextControl class.

Syntax

public TextControl();

Examples

The following example creates a WPF editor and places it in a window.

System.Windows.Window window = new();
TXTextControl.WPF.TextControl textControl = new();
window.Content = textControl;