Enables and manages relocation of either end of an IDiagramConnection and the DiagramConnectionElement that graphically represents it. That is, this thumb modifies either the ToConnectionPoint or the FromConnectionPoint properties of the connection that this thumb is assigned to.

The position of the end of the connection being relocated is dynamically changed as the mouse is dragged allowing for a rubberbanding effect. This thumb can relocate either the 'to' or 'from' connection point to another connection point mounted on either an IDiagramNode or an IDiagramConnection that the mouse is over when released. If the mouse is released over nothing, then the connection being relocated is put back to its original connection points.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public class ConnectionRelocatorThumb : Thumb
Visual Basic (Declaration)
Public Class ConnectionRelocatorThumb _
	Inherits Thumb

Inheritance Hierarchy

System..::.Object
  System.Windows.Threading..::.DispatcherObject
    System.Windows..::.DependencyObject
      System.Windows.Media..::.Visual
        System.Windows..::.UIElement
          System.Windows..::.FrameworkElement
            System.Windows.Controls..::.Control
              System.Windows.Controls.Primitives..::.Thumb
                Mindscape.WpfDiagramming.Foundation..::.ConnectionRelocatorThumb

See Also