AutoSelect Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Determines whether the text of a newly added XML element is automatically selected.
Syntax
public bool AutoSelect { get; set; }Public Property AutoSelect As BooleanExamples
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.");
}xmlElement.AutoSelect = True
If xmlElement.AutoSelect Then
Console.WriteLine("Xml Element: Auto Select is enabled.")
End If