IDataSourceProvider
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.
阅读时间1 分钟最后更新于 24 天前
Definition
- Type: Interface
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public interface IDataSourceProvider
Remarks
This IDataSourceProvider.dataSource and IDataSourceProvider.dataSourcePath will only affect the binding itself and not the hierarchy.
Properties
Property | Description |
|---|---|
| dataSource | Data source object that is local to the binding object. |
| dataSourcePath | Data source path that is local to the binding object. |