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
3455
How can I set alternate row color through isl files
posted

Hi,

Does any one know, how to set alternate row color in WinListView through style files(isl files).

Regards,

Ceaser

  • 69832
    Suggested Answer
    Offline posted

    The control doesn't support alternate row appearance through app styling or the appearance model. What you can do is define two appearances, one for odd and one for even, iterate the Items collection, and assign the different appearances to even/odd numbered items. If sorting is enabled you would have to handle ColumnSorted and run the Items collection through the same logic therein.