Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ControlShape MouseDoubleClick event is nothing? (Read 3087 times)
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
ControlShape MouseDoubleClick event is nothing?
Jun 20th, 2012 at 9:18am
Print Post  
Solve any way of ControlNode.DoubleClickEvent?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ControlShape MouseDoubleClick event is nothing?
Reply #1 - Jun 20th, 2012 at 9:28am
Print Post  
There are no DoubleClick events in Silverlight. If you need your custom controls to detect double-clicks, you can record the Datetime.Now value in the Click handler, and treat it as a double-click if the TimeSpan between the two clicks is less than say 500 milliseconds. You might be also able to use the NodeDoubleClicked raised by the Diagram control, if you don't need this for some specific child control of your custom control.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
Re: ControlShape MouseDoubleClick event is nothing?
Reply #2 - Jun 23rd, 2012 at 3:20am
Print Post  
Thanks problem solved.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint