Selection Property
- Namespace
TXTextControl.Web
- Package
- None: the TX Text Control .NET Server setup installs it, for .NET Framework.
- Assembly
TXTextControl.Web. dll
Description
Gets or sets the current selection in the text part with the input focus. The property value is an object of the type Web.Selection.
Syntax
public TXTextControl.Web.Selection Selection { get; set; }Public Property Selection() As TXTextControl.Web.SelectionExamples
Selection belonged to the older server-control surface. In the current ASP.NET Core integration, use TextControlSettings.TextFieldsEditable for the corresponding editor configuration.
textControlSettings.TextFieldsEditable = true;
if (textControlSettings.TextFieldsEditable)
{
Console.WriteLine("Text Fields Editable is enabled for Text Control Settings.");
}textControlSettings.TextFieldsEditable = True
If textControlSettings.TextFieldsEditable Then
Console.WriteLine("Text Fields Editable is enabled for Text Control Settings.")
End If