# dataSource

> The data source that was resolved for a given binding.

## Definition

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

```csharp
public object dataSource { get; }
```

### Remarks

If a [Binding](/engine/6000.0/script-reference/unityengine/uielements/binding.md) implements the [IDataSourceProvider](/engine/6000.0/script-reference/unityengine/uielements/idatasourceprovider.md) interface and provides its own data source, it will automatically be used as the resolved data source; otherwise the data source will be resolved to the first valid data source on the target element or its ancestors. This value can be `null`.
