AlternatingRowBackground
Options to display alternating background colors for collection view rows.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum AlternatingRowBackground
Remarks
If there are more rows with content than there are visible rows, you will not see a difference between the option and the option.
AllContentOnlyFields
Value | Description |
|---|---|
| All | Alternate background colors for all rows, regardless of whether they have content. The background color continues to alternate for empty lines. |
| ContentOnly | Alternate background colors only for rows that have content. The background color does not alternate for empty lines. |
| None | Do not alternate background colors for rows. |