Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic RestrictToBounds (Read 1308 times)
danmeland
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jan 13th, 2010
RestrictToBounds
Jan 13th, 2010 at 5:03pm
Print Post  
Ok, I know someone has brought this up b4, but...

How do I restrict, in SilverLight, the movement of a controlnode from leaving the bounds of the grid layout diagram?

Cant find an answer easily.  THanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: RestrictToBounds
Reply #1 - Jan 13th, 2010 at 5:41pm
Print Post  
I think there's such property in our controls for other platforms, but it's not available for Silverlight. You can achieve the same effect by handling the NodeModifying event and setting e.Cancel = true if the diagram.Bounds rectangle does not contain e.Node.Bounds.

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