How to make list view item have a different layout when hovered on? #9378
Unanswered
leduyquang753
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
-
I want to have an arrow to appear to the right of a
ListView
's item when it's being hovered on:(This was made with HTML.)
I first tried looking into customizing the control template only to find out the whole layout of each list item is being handled by the special
ListViewItemPresenter
, which offers no capability of changing the layout. Then the page suggested adopting the expanded templates, but when I tried copying the code fromgeneric.xaml
into my source, it rendered as the old Windows 10's list item (such as no rounded corners and no selection indicator).So what can I use to accomplish this while maintaining the original Windows 11 look and feel of the list view item?
Beta Was this translation helpful? Give feedback.
All reactions