Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Disable mouseover color for Grid View and Text Color change in Grid View

$
0
0

I want to disable the mouse over color when a mouse is over a row in my GridView (Example in the picture). I also want to disable the selected color (example also in the picture). Kind of like as if the line is not actually selected, but scrolling must be enabled

I would like to disable these.

Also is there a way to change the text color of a substring of a certain line?

Here is the xaml:

<ListView  Grid.Row="2" BorderBrush="White"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Name="ListView1"
ItemsSource="{Binding Path=line}"
                   HorizontalAlignment="Stretch"><ListView.View><GridView><GridViewColumn Header="Lines" Width = "420"
                     DisplayMemberBinding="{Binding Path=aline}" /></GridView></ListView.View></ListView >



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>