Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Custom expansion indicator image
posted

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?

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children