w-ahmad/WinUI.TableView

Additional coloring

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
Hello, will be nice to have alternate row foreground/background coloring. And vertical + horizontal bars option.

Additional context
I think it's important for long tables readability.

I just found out about an extension in the Community Toolkit that allows you to set alternate colors on a ListView. Although I haven't tested it yet, it seems like it's worth giving a shot.

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/windows/extensions/listviewextensions#alternatecolor

I'll make an effort to include alternating row colors and grid lines in the next major release.

I just found out about an extension in the Community Toolkit that allows you to set alternate colors on a ListView. Although I haven't tested it yet, it seems like it's worth giving a shot.

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/windows/extensions/listviewextensions#alternatecolor

I'll make an effort to include alternating row colors and grid lines in the next major release.

It works, but only after I pass over items with pointer. Still would be nice to have control over both colors main and alternate.