Northwoods.GoSilverlight 1.3.5 Assembly
Link Class
Members  See Also  Send Feedback
Northwoods.GoXam Namespace : Link Class

A Link is a Part that represents a relationship between Nodes.

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Content")>
Public Class Link 
   Inherits Part
C# 
[ContentPropertyAttribute("Content")]
public class Link : Part 

Remarks

A link connects the Link.FromNode to the Link.ToNode.

The rendering of a link is determined by the Diagram's Diagram.LinkTemplate. This DataTemplate may be a simple LinkShape (WPF) or Path (Silverlight). However it is usually a LinkPanel, which supports child elements that act as arrowheads or text labels or other decoration on the link.

A link may also have a LabelNode. In this case there is a separate Node that is associated with the link. The node's Node.IsLinkLabel property will be true. It is usually positioned at the mid-point of the link. It supports its own link connections and may be independently selected or moved. The label node may be a Group, in which case all of its member nodes are link label nodes that are positioned by the LinkPanel.

You may not apply any transforms to a Link; that is reserved to GoXam for future use.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.ContentPresenter
               Northwoods.GoXam.Part
                  Northwoods.GoXam.Link

Requirements

See Also

© 2012 All Rights Reserved.