Q:

check if mouse is over element wpf

**in xaml**
<Trigger Property="IsMouseOver" Value="true">
  <Setter Property="Foreground" Value="Blue" />
  <Setter Property="Cursor" Value="Hand"/>
</Trigger>
1
if(this.B.IsMouseOver)
    DoSomethingNice();
0

New to Communities?

Join the community