Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic is there a property to limited the mouse move the node out of the diagram? (Read 1602 times)
heyx
Junior Member
**
Offline


I Love MindFusion!

Posts: 69
Joined: Oct 9th, 2014
is there a property to limited the mouse move the node out of the diagram?
Feb 28th, 2015 at 5:53am
Print Post  
hi,
when I move the node to left or top. it‘s always out of the diagram?
is there a property to fix this or use any event to do by myself ?
thanks
  

error_004.png ( 4 KB | 68 Downloads )
error_004.png
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: is there a property to limited the mouse move the node out of the diagram?
Reply #1 - Mar 2nd, 2015 at 9:14am
Print Post  
Hi,

You could set GridOffsetX/Y properties to 0 to align the grid with diagram.Bounds if you need to let users place items exactly at origin. To prevent placing items outside of Bounds, either set the AutoResize property to AllDirections, or set RestrictItemsToBounds = InsideOnly.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
heyx
Junior Member
**
Offline


I Love MindFusion!

Posts: 69
Joined: Oct 9th, 2014
Re: is there a property to limited the mouse move the node out of the diagram?
Reply #2 - Mar 3rd, 2015 at 7:12am
Print Post  
hi Stoyan,
thanks for your help.it works. Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint