1
Answer

Mouseover not working after click in WPF

Issac Abraham

Issac Abraham

13y
2.4k
1
Hi im using a button and im wrote a style for that on MouseOver to change the color
the style is working when MouseOver is there...but after i click and then MouseOver...
then MouseOver is not working...i mean color is not changing...
can anybody help
here is the code which i used
<Style x:Key="Header" TargetType="{x:Type Button}">
<Setter Property="Background" Value="#3D9828"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#70af0e"/>
</Trigger>
</Style.Triggers>
</Style>
Answers (1)
0
Gokhul Varman
NA 10.7k 9.4k 7y
Please refer the link for more detailed explantion:http://developers.itextpdf.com/content/best-itext-questions-stackoverview/font-examples/itext7-how-use-system-font-itextsharp-vbnet
Accepted
0
Shovan Saha
NA 306 17.8k 7y
Dear Gokhul Sir, I have made this. Thank you. But I have another question. I have six buttons bearing same color. I want tab index position of button will show another color. Is it possible? Please help me.