TX Text Control .NET Server

AutoSelect Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Determines whether the text of a newly added XML element is automatically selected.

Syntax

public bool AutoSelect { get; set; }

Examples

The following example uses XmlElement.AutoSelect to configure auto select as part of the xml element workflow. The configured value is checked before the workflow continues.

xmlElement.AutoSelect = true;
if (xmlElement.AutoSelect)
{
    Console.WriteLine("Xml Element: Auto Select is enabled.");
}