Solved

Gridview item highlight on mouse hover in UWP

Posted on 2016-08-31
2
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
zephyr_hex (Megan) 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

690 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