0

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.

                             <Image.Triggers>
                                <Trigger Property="IsMouseOver" Value="True">


                                </Trigger>
                            </Image.Triggers>

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.
Thankx.

3
Contributors
2
Replies
5
Views
5 Years
Discussion Span
Last Post by Sahil89
0

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.