How to get rid of Win UI default visual states for CollectionView ? #23689
Unanswered
BeepBeepBopBop
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am experencing some issues using CollectionView and I have not managed to find a solution except dirty workarounds. I am still learning MAUI and recently discovered about Handlers and so I suspect there might be something to be done on WinUI level for that:
As you can see, by default, there is a slight padding on selected/hovered items in a CollectionView. I tried of course overriding/removing all CollectionView styling but did not manage to do what I want.
What I want is: simply having 0 padding on the rectangle and setting its color.
Thanks a lot to anyone taking some time to help me :)
Beta Was this translation helpful? Give feedback.
All reactions