# contentRect

> The rectangle of the content area of the element, in the local space of the element. (Read Only)

## Definition

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

```csharp
public Rect contentRect { get; }
```

### Remarks

In the box model used by UI Toolkit, the content area refers to the inner rectangle for displaying text and images. It excludes the borders and the padding.
