Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic diagram nodes are moving with mouse drag on the ruler (Read 4033 times)
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
diagram nodes are moving with mouse drag on the ruler
Apr 16th, 2013 at 3:20pm
Print Post  
Hi stoyo,

I am working with diagram. code is here;-
                      <diag:Ruler Name="ruler"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Stretch"
                        Width="Auto"
                        Height="Auto"
                        Unit="Pixel"
                        Grid.Row="1"
                        ProjectionColor="#5E6A6AD4"
                        Background="{x:Null}"
                        telerik:StyleManager.Theme="Metro">
                           <diag:Diagram Name="diagram"                              
                              HorizontalAlignment="Left"
                              GridSizeX="10"
                              GridSizeY="10"
                              VerticalAlignment="Top"
                              Margin="2,2,6,8"
                              telerik:StyleManager.Theme="Metro"
                              MouseRightButtonUp="diagram_MouseRightButtonUp"
                              MouseLeave="diagram_MouseLeave"
                              SelectionMoving="diagram_SelectionMoving"
                              BackBrush="White"
                              AutoSnapLinks="True"
                              Background="White"
                              BorderBrush="{x:Null}"
                              BorderThickness="0"
                              Height="338"
                              Width="330"
                              GridColor="Silver">
                          </diag:Diagram>
                          </diag:Ruler>


I can insert an node in diagram and placed at any where and also move node using mouse. But when click on ruler and drag mouse over ruler or diagram, node also moved. How to overcome this issue, Please suggest something..

Thanks in advance.

Regards
Yogendra
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: diagram nodes are moving with mouse drag on the ruler
Reply #1 - Apr 17th, 2013 at 6:13am
Print Post  
Hi,

Do you mean you want to disable the alignment guides? Node alignment is kind of the main purpose of the Ruler control, but if you want to disable it we could add some property for it in next version.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint