TextControl Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Initializes a new instance of the TextControl class.
Syntax
public TextControl();Public Sub New()Examples
The following example creates a dock-filled Windows Forms editor and adds it to a form.
System.Windows.Forms.Form form = new();
TextControl textControl = new() { Dock = System.Windows.Forms.DockStyle.Fill };
form.Controls.Add(textControl);Dim form As New System.Windows.Forms.Form()
Dim textControl As New TextControl() With { .Dock = System.Windows.Forms.DockStyle.Fill }
form.Controls.Add(textControl)