Hi,
I have added a GridView set to CardView to my project but am having a few problems with styling. I dynamically bind at runtime to a data source and have disabled selection so I only have to worry about the active item. My problem is that when I click on an item in the Card View, the background color for all of the cells goes blue. I don't like this effect as I have check boxes and it just doesn't look right.
What I really want is for just the Card Header to change in color to indicate which card I have activated but for the data cells to stay as they are. I have looked through a lot of the settings - specifically
Display Layout>Override>ActiveCellAppearance
Display Layout>Override>CardAreaAppearance
amongst others but I can't get anything to affect this behavior. Can you please point me to where I can achieve my aims?
DisplayLayout -> Override -> ActiveCardCaptionAppearance -> BackColor => Red or another color of your choice.
DisplayLayout -> Override -> ActiveRowAppearance -> BackColor => change from Highlight to another color or clear out to have no change in appearance (maybe use white). Should also change ForeColor to black (instead of HighlightText) in case you have a white background and white foreground.
thanks for that - I have got rid of the annoying highlight when the item become active. For some reason the header isn't changing color but I'm not really bothered about that.