How to imitate MouseHover event in WPF Teechart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Anil Kumar
Newbie
Newbie
Posts: 18
Joined: Tue Sep 04, 2007 12:00 am

How to imitate MouseHover event in WPF Teechart

Post by Anil Kumar » Tue Feb 10, 2009 6:32 am

Hi,
MouseHover event is not available for Teechart. 'MouseMove' event can't be used, since it gets fired as your mouse moves.
MouseHover should get fired as you hover the mouse over the point for some time e.g. like tooltip
Do you have any solution for it?

Regards,
Priya

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 10, 2009 2:27 pm

Hi Priya,

This is because TeeChart for WPF derives from System.Windows.UIElement class. MouseHover event is not implemented in this class as you can see here:

http://msdn.microsoft.com/en-us/library ... vents.aspx

Anyway, you can simulate this event using MouseEnter and MouseLeave events.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply