6String_Coder
6String_Coder

Reputation: 547

Change Alternating Colors in Firemonkey TListView

Dropping a tlistview onto a form and checking the property 'AlternatingColors' to true, by default it will show a grey background on every other item on the listview.

My question is does anyone now how to change this color to something else?

Thanks,

Upvotes: 3

Views: 2121

Answers (1)

John Kouraklis
John Kouraklis

Reputation: 686

You need to edit the style of TlistView.

Right-click on listview, choose "Edit Custom Style" and in the structure panel there are two items: "itembackground" and "alternatinfitembackground".

You can change the colors from there.

Upvotes: 1

Related Questions