I have a multi banded grid with the UseOSThemes property set to false. Of course this now makes my expansion indicators very small and they don't really stand out as well as I would like. What I would prefer to have here is a custom +/- image. Can someone please tell me how to do this?
There are a couple of options that may be easier that using a DrawFilter.
1) You can apply images to the expansion indicators using AppStylist.
2) You could leave UseOsThemes on the grid set to true (the default). Then you could turn off themes on individual parts of the grid, rather than the entire grid. You do this by setting the ThemedElementAlpha to Transparent on any of the grid's Appearance objects. There aren't that many parts of the grid that uses themes, anyway, so I think this would be pretty easy. You probably just have to set it on the HeaderAppearance and the CellButtonAppearance and perhaps the ScrollBarLook appearances.
Hi Mike,
I like the first solution (apply images to the expansion indicators using AppStylist)... but I could'nt find this property in the AppStylist. Wich component, or UIRole, contains the Image property for expaansion indicator ?
Could you please point me in the right direction ?
Thank you for your helpfull advices
François
Hi François,
Here's what you do:
Mike,
Thank you for the follow up. I'll give it a try and let you know... it sounds good.
I didn't notice the Canva options dropdown, thanks for the trick