<Button Width="100" Height="50" Content="Click Me!">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
< here i want to play sound but how?>
</Trigger>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
I try but not find any event to do this if anyone knows then please help me
You could easily attach handlers to the MouseEnter and MouseLeave events: