I use gridview to list all the items, I want to realize an effect that when the pointer over an item, it appears as a style and after the pointer moved off, the style disappear, any one can provide me some suggestion? Thanks
You want to change the ItemContainerStyle of the grid. To do this do the following:
Right click on the GridView on the left and select Edit Additional Templates, Edit Generated Item Container (ItemContainerStyle), Edit a Copy.
In the style that gets generated you'll find a VisualStateGroup called "Hover". These are the changes that take place to the container when a user is hovering over an item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With