reorderable
Gets or sets a value that indicates whether the user can drag list items to reorder them.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty]public bool reorderable { get; set; }
Remarks
The default value is which allows the user to drag items to and from other views when you implement BaseVerticalCollectionView.canStartDrag, BaseVerticalCollectionView.setupDragAndDrop, BaseVerticalCollectionView.dragAndDropUpdate, and BaseVerticalCollectionView.handleDrop. Set this value to to allow the user to reorder items in the list.
falsetrue