itemTemplate
A UXML template that constructs each recycled and rebound element within the list. This template is designed to replace the _makeItem definition.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public VisualTreeAsset itemTemplate { get; set; }
Remarks
You can use it along with _bindingSourceSelectionMode and bindings to have a completely codeless workflow.