Answers for "get element mouse is hovering over wpf"

1

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>
Posted by: Guest on May-25-2020
0

check if mouse is over element wpf

if(this.B.IsMouseOver)
    DoSomethingNice();
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language