Horrible WPF performance!
- by Erik
Why am i using over 80% CPU when just hovering some links?
As you can see in the video i uploaded: http://www.youtube.com/watch?v=3ALF9NquTRE
the CPU goes to 80% CPU when i move my mouse over the links.
My style for the items are as follows
<Style x:Key="LinkStyle" TargetType="{x:Type Hyperlink}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="White" />
</Trigger>
</Style.Triggers>
<Setter Property="TextBlock.TextDecorations" Value="{x:Null}" />
<Setter Property="Foreground" Value="#FFDDDDDD"/>
<Setter Property="Cursor" Value="Arrow" />
</Style>
Why?