Background color of root element caption text

DirkWilhelmDirkWilhelm USMember ✭✭✭✭

Hello,

i have a question regarding styling root elements.

Lets say i have this code:

var root = new RootElement ("Meals") { new Section ("Dinner"){ new RootElement ("Dessert", new RadioGroup ("dessert", 2)) { new Section () { new RadioElement ("Ice Cream", "dessert"), new RadioElement ("Milkshake", "dessert"), new RadioElement ("Chocolate Cake", "dessert") } } } }

How can i set the background color of the root element text "Meals"?

I tried setting the TableView.BackgroundView=null and TableView.BackgroundColor=UIColor.Blue but that didn't work.

Regards,
Dirk

Sign In or Register to comment.