Enum AlternatingRowBackground
Options to display alternating background colors for ListView rows.
Namespace: UnityEngine.UIElements
Syntax
public enum AlternatingRowBackground : int
Remarks
If there are more rows with content than there are visible rows, you will not see a difference between
the All
option and the ContentOnly
option.
Fields
Name | Description | Value |
---|---|---|
None | Do not alternate background colors for rows. |
0 |
ContentOnly | Alternate background colors only for rows that have content. The background color does not alternate for empty lines. |
1 |
All | Alternate background colors for all rows, regardless of whether they have content. The background color continues to alternate for empty lines. |
2 |