Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ContainerNode.OnDragOut Method (Read 1503 times)
fluber
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Nov 12th, 2007
ContainerNode.OnDragOut Method
May 15th, 2008 at 8:57am
Print Post  
Dear Sir:

  I want to prevent the node in the ContainerNode that was drag out the ContainerNode

  How to do ?

The OnDragOut do not like OnDropOver  have a bool value to control .

public override void OnDragOut (
    DiagramItem item
)

public override bool OnDropOver (
    DiagramItem item
)

Thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNode.OnDragOut Method
Reply #1 - May 15th, 2008 at 11:04am
Print Post  
Dear Fluber,

Set childNode.Constraints.KeepInsideParent = true.

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


I love YaBB 1G - SP1!

Posts: 16
Joined: Nov 12th, 2007
Re: ContainerNode.OnDragOut Method
Reply #2 - May 16th, 2008 at 4:57am
Print Post  
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint