# selectAllOnFocus

> Controls whether the element's content is selected upon receiving focus.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public bool selectAllOnFocus { get; set; }
```
