Solved

Gridview item highlight on mouse hover in UWP

Posted on 2016-08-31
2
76 Views
Last Modified: 2016-09-03
Hello,

My UWP project contains a gridview. Is there anyway to highlight gridview items like a little pop on mouse hover? I can't seem to find a way to do it.. Please help.

Thanks and regards.
0
Comment
Question by:Soumen Roy
2 Comments
 
LVL 42

Accepted Solution

by:
zephyr_hex earned 500 total points
ID: 41778266
I'm not exactly sure what you mean by "highlight like a pop", but I'll give you a few options.

GridView renders as an HTML table.  You can use CSS to achieve your mouseover effect.

This will enlarge the text inside a cell:
table td:hover {
  font-size: 3em;
}

Open in new window


This will change the background color inside a cell:
table td:hover {
  background-color: purple;
}

Open in new window


Here is a Fiddle Demo.
0
 

Assisted Solution

by:Soumen Roy
Soumen Roy earned 0 total points
ID: 41782606
The code is in xaml and c#.. I found my way around though.. Thank you..
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now