John
John

Reputation: 3945

change background color of treeview control not found?

First Xamarin app attempt...Using the treeview example from https://github.com/danvanderboom/Xamarin-Forms-TreeView to include a treeview search into the project.

Although I would like to remove the grey background color in the treeview. Iv used a program to get the color which is #808080 I cant find this color anywhere in the project...So where is the color coming from? I then searched the entire project for color and looked through each one... I cant find anything which is producing this. any advice? Currently testing on Android

enter image description here

Upvotes: 1

Views: 95

Answers (1)

Harikrishnan
Harikrishnan

Reputation: 1474

In the below fine, set the BackgroundColor property to Transparent or remove it to get your code working.

https://github.com/danvanderboom/Xamarin-Forms-TreeView/blob/master/Xamarin.Forms.TreeView/HighEnergy.TreeView.Demo/DemoModule/DemoTreeCardView.xaml

Issue Image

Upvotes: 1

Related Questions