# DataSourceContextChanged

> Contains information passed to binding instances when the resolved data source context has changed.

## Definition

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

```csharp
public readonly struct DataSourceContextChanged
```

## Properties

| Property                                                                                                              | Description                                                       |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [bindingId](/engine/6000.7/script-reference/unityengine/uielements/datasourcecontextchanged/bindingid.md)             | Returns the id of the binding.                                    |
| [newContext](/engine/6000.7/script-reference/unityengine/uielements/datasourcecontextchanged/newcontext.md)           | Returns the newly resolved data source of the binding.            |
| [previousContext](/engine/6000.7/script-reference/unityengine/uielements/datasourcecontextchanged/previouscontext.md) | Returns the previous resolved data source context of the binding. |
| [targetElement](/engine/6000.7/script-reference/unityengine/uielements/datasourcecontextchanged/targetelement.md)     | Returns the target element of the binding.                        |
