# AutoSelect Property

> Determines whether the text of a newly added XML element is selected automatically; the Boolean AutoSelect property is True by default. Run time only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > XMLElement > AutoSelect Property
- **93 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/autoselect-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/autoselect-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/autoselect-property/llms-full.txt

---

Determines whether the text of a newly added XML element is automatically selected. The value of this property is True by default.

### Syntax

```vbscript
XMLElement.AutoSelect [= boolean]
```

### Data Types

Boolean.

### Limitations

Run time only.

### See Also

- [Working with XML Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/llms-full.txt)
- [Programming Category: XML Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/xml/llms-full.txt)

---

## Nearby

- **Previous:** [AddChild Method](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/addchild-method/llms-full.txt)
- **Next:** [AutoText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/autotext-property/llms-full.txt)
