# Alternating Row Colors

## Content



The readability of the display can often be improved by alternating the background colors of adjacent rows. When the [AlternatingRows](/componentone/docs/win/online-truedbgrid/) property to **True** is set, the grid displays odd-numbered rows (the first displayed row is 1) using the built-in style **OddRow**, and even-numbered rows using the built-in style **EvenRow**.

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/alternating-rows.png)