I want to implement mouse over event on a image in WPF. But it seems to be there is no event for that in WPF. How can I implement that. I tried with a trigger . But only the property is available.

                                <Trigger Property="IsMouseOver" Value="True">


But the problem is I want to call a method from c# code within the mouseover event. How can I achieve this.
Really apprieciate your help.

6 Years
Discussion Span
Last Post by Sahil89

There are events. Now first thing you will do is download blend its less than 100mb in size. If you are already using it then check for lightning icon in properties window. There u can see all the events. By double clicking it you can add event in your cs file and write your code. But all this reply is based on assumpions. So if it dont help reply with more details. Gud luck.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.