CursorTool (Silverlight)

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asuneft
Newbie
Newbie
Posts: 1
Joined: Thu Aug 05, 2010 12:00 am

CursorTool (Silverlight)

Post by asuneft » Tue Feb 15, 2011 4:07 pm

Hello!

I am developing a project using Silverlight TChat component (version 4.1.2010.9282). I have several questions related to the CursorTool:
1. The cursortool moves slowly. When i move cursortool processor usage is about 100 percent on my pc (dual-core Intel CPU 3 GHz). I have attached example code. Using the properties FastCursor not help, since in this case the cursortool is not displayed.
2. How can I change the mouse cursor that displays while the mouse pointer is over cursortool? Now all the time is shown IBeam cursor and i can't change them like that:
cursorTool.Cursor = System.Windows.Input.Cursors.Hand;

Best Regards,
Ernst
Attachments
TeeChartCursorHiLoadTest.zip
(30.08 KiB) Downloaded 230 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: CursorTool (Silverlight)

Post by Sandra » Wed Feb 16, 2011 1:31 pm

Hello Ernst,
1. The cursortool moves slowly. When i move cursortool processor usage is about 100 percent on my pc (dual-core Intel CPU 3 GHz). I have attached example code. Using the properties FastCursor not help, since in this case the cursortool is not displayed.
It is a known problem for us and it is in wish-list with number [TW24015389] to consider inclusion it enhancement for next versions of TeeChartSilverlight.
2. How can I change the mouse cursor that displays while the mouse pointer is over cursortool? Now all the time is shown IBeam cursor and i can't change them like that:
cursorTool.Cursor = System.Windows.Input.Cursors.Hand;
You need have property FollowMouse True if you want change the mouse pointer is over cursortool as next lines of code:

Code: Select all

       cursorTool1.FollowMouse = true;
            cursorTool1.Style = Steema.TeeChart.Silverlight.Tools.CursorToolStyles.Horizontal;
            cursorTool1.OriginalCursor= System.Windows.Input.Cursors.Hand;
I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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