IDataSourceProvider

interface in UnityEngine.UIElements

Description

Binding types deriving from Binding can implement this interface to gain an additional layer of data source and data source path. These will be used by the binding system to compute the final BindingContext.dataSource and BindingContext.dataSourcePath that will be passed to the BindingContext during the binding update.

This dataSource and dataSourcePath will only affect the binding itself and not the hierarchy.

Properties

dataSource Data source object that is local to the binding object.
dataSourcePath Data source path that is local to the binding object.

Did you find this page useful? Please give it a rating: