VisualTreeAsset.CloneTree
public UIElements.TemplateContainer CloneTree();
Parameters
| bindingPath | Path of the target property to be bound to the cloned tree root. |
Returns
TemplateContainer The root of the tree of VisualElements that was just cloned.
Description 描述
Build a tree of VisualElements from the asset.
Parameters
| target | A VisualElement that will act as the root of the cloned tree. |
Description 描述
Build a tree of VisualElements from the asset.