This version of Unity is unsupported.

VisualElement.SetBinding

Declaration

public void SetBinding(UIElements.BindingId bindingId, UIElements.Binding binding);

Parameters

bindingId The binding ID.
binding The binding object.

Description

Assigns a binding between a target and a source.

Passing a value of null for binding removes the binding.