Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Prevent editting of diagram (Read 1711 times)
jagdipa
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 52
Joined: Jun 23rd, 2011
Prevent editting of diagram
Oct 31st, 2011 at 8:50pm
Print Post  
How do I prevent links and nodes to be editable? I am arranging them in a treelayout, and does want the user to move/resize the nodes or links. (Apart from allow them to edit a textbox on a doubleclick event that I am trying to create myself).

I have tried the follow, but they dont seem to work:

<my:Diagram Name="DiagramView1" Margin="20"
                       AllowInplaceEdit="False"
                       AllowMultipleResize="False"
                       AllowUnconnectedLinks="False"
                       AutoResize="AllDirections"
                       NodeClicked="DiagramView1_NodeClicked"
                       NodeDoubleClicked="DiagramView1_NodeDoubleClicked"
                       NodesExpandable="False">
           </my:Diagram>

I have even set these values on each node, but that does not help.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Prevent editting of diagram
Reply #1 - Nov 1st, 2011 at 6:54am
Print Post  
Set Behavior = "DoNothing", or set Locked = true for all nodes and links.

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