Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Right click support and Cursors (Read 2718 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Right click support and Cursors
Dec 2nd, 2010 at 10:12am
Print Post  
Hi Stoyo

Is there any plan to provide different cursors when mouse is moved on adjusment handles ?

Also , is it possible to provide a right click check support which detects the node/link on which right click is pressed and that info is passed to the "OnContextClick" event ?

As of now, the right click is implemented in my custom code, where i the node is found using my own code. I guess this should be in-built in the libarary.

-Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Right click support and Cursors
Reply #1 - Dec 2nd, 2010 at 4:15pm
Print Post  
Hi Rajesh,

Silverlight does not allow using custom cursors and provides only a handful of predefined ones, so we haven't added cursor properties for adjustment handles. Yet you could use the OverrideCursor property or override the BehaviorBase.SetMouseCursor method to return a different cursor from the Cursors class members. Now I see Silverlight 4 adds SizeNESW and SizeNWSE members - we will set them as default for the corner points in the next version.

In Silverlight 4 you could add a Diagram.MouseRightButtonDown handler and call GetItemAt to detect the item under the mouse pointer.

Stoyan
  
Back to top
 
IP Logged
 
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Right click support and Cursors
Reply #2 - Mar 21st, 2011 at 8:55am
Print Post  
Hi Stoyo

In latest version did SizeNESW and SizeNWSE cursors used by default ?

-Rajesh

  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Right click support and Cursors
Reply #3 - Mar 21st, 2011 at 12:46pm
Print Post  
Hi,

It seems we have omitted adding them. We'll try to later this week.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Right click support and Cursors
Reply #4 - Mar 22nd, 2011 at 8:11am
Print Post  
Hi Rajesh,

We have added the diagonal resize cursors, please check the PM page.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint