VisualElement.TryGetDataSourceContext

Declaration

public bool TryGetDataSourceContext(UIElements.BindingId bindingId, out UIElements.DataSourceContext context);

Parameters

bindingId The binding ID to query.
context The resulting context object.

Returns

bool Returns true if a binding with the provided id was registered on the element; false otherwise.

Description

Queries the dataSource and dataSourcePath of a binding object.


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