Skip to main content
A newer version of this page is available. .

How to: Customize the appearance of odd rows

The following example changes the appearance of odd rows. The corresponding appearance property is accessed via the TreeList.Appearance property.

The image below shows the result.

Styles - OddRows

treeList1.Appearance.OddRow.BackColor = Color.LightSteelBlue;
treeList1.OptionsView.EnableAppearanceOddRow = true;