TextControl Constructor
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Initializes a new instance of the TextControl class.
Syntax
TextControl()
Initializes a new instance of the TextControl class.
public TextControl();Public Sub New()TextControl(TextControlSettings)
Initializes a new instance of the TextControl class using settings from a given TextControlSettings object.
public TextControl(TextControlSettings settings);Public Sub New(settings As TextControlSettings)| Parameter | Description |
|---|---|
| settings | A TextControlSettings object containing TextControl extension settings. |
TextControl(Action<TextControlSettings>)
Initializes a new instance of the TextControl class using settings from a delegate method that accepts TextControlSettings as a parameter.
public TextControl(Action<TextControlSettings> method);Public Sub New(method As Action(Of TextControlSettings))| Parameter | Description |
|---|---|
| method | A delegate method that accepts TextControlSettings as a parameter. |
Examples
The following example creates a Text Control instance and verifies that it is ready for the surrounding document workflow.
TXTextControl.Web.MVC.TextControl textControl = new();
Console.WriteLine("Text Control is ready.");Dim textControl As New TXTextControl.Web.MVC.TextControl()
Console.WriteLine("Text Control is ready.")