Search
LinkTo Class
See Also
 





A helper class that provides attached properties for connecting a link to nodes from Xaml.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public class LinkTo : DependencyObject

Visual Basic  Copy Code

Public Class LinkTo
    Inherits DependencyObject

 Example

Xaml  Copy Code

<mf:Diagram ...>
    <mf:Diagram.Nodes>
        <mf:ShapeNode x:Name="n1" Bounds="30,30,20,20" Brush="Red" />
        <mf:ShapeNode x:Name="n2" Bounds="150,110,20,20" Brush="Yellow" Shape="Ellipse" />
    </mf:Diagram.Nodes>
    <mf:Diagram.Links>
        <mf:DiagramLink mf:LinkTo.OriginNode="n1" mf:LinkTo.DestinationNode="n2" HeadShapeSize="10" />
    </mf:Diagram.Links>
</mf:Diagram>

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            MindFusion.Diagramming.Wpf.LinkTo

 See Also