Having an outline for MouseOver for a WPF ListView

Posted by Joan Venge on Stack Overflow See other posts from Stack Overflow or by Joan Venge
Published on 2010-04-04T08:48:30Z Indexed on 2010/04/04 8:53 UTC
Read the original article Hit count: 528

Filed under:
|
|
|

I am using Windows 7 and the current item selection (by default) is to paint the background with cornflower blue. Is it possible to get rid of this and replace it with a 1px outline/border over the listview item that the mouse is over?

I basically want to draw a 1px outline/border over any listview item with 1 pixel spacing between the listview item and the outline/border.

I am using a WrapPanel with an Image in it for each item.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET