selectedItems
Returns the selected items from the data source. Always returns an enumerable, even if no item is selected, or a single item is selected.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty(ReadOnly = true)]public IEnumerable<object> selectedItems { get; }