itemSelectedVariantUssClassName
The USS class name of selected item elements in the BaseVerticalCollectionView.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static readonly string itemSelectedVariantUssClassName
Remarks
Unity adds this USS class to every selected element in the BaseVerticalCollectionView. The BaseVerticalCollectionView.selectionType property decides if zero, one, or more elements can be selected. Any styling applied to this class affects every BaseVerticalCollectionView item located beside, or below the stylesheet in the visual tree.