unbindItem
Callback for unbinding a data item from the VisualElement.
읽는 시간 1분최근 업데이트: 21일 전
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Action<VisualElement, int> unbindItem { get; set; }
Remarks
The method called by this callback receives the VisualElement to unbind, and the index of the element to unbind it from.
Note:: Setting this callback without also setting TreeView.bindItem might cause unexpected behavior. This is because the default implementation of bindItem expects the default implementation of unbindItem.