itemTemplate
A UXML template that constructs each recycled and rebound element within the list. This template is designed to replace the ListView.makeItem definition.
읽는 시간 1분최근 업데이트: 20일 전
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[UxmlAttribute]public VisualTreeAsset itemTemplate { get; set; }
Remarks
You can use it along with BaseListView.bindingSourceSelectionMode and bindings to have a completely codeless workflow.