
[ContentProperty("Content")] [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)] [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)] [XmlLangProperty("Language")] [UsableDuringInitialization(true)] [RuntimeNameProperty("Name")] [UidProperty("Uid")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class Link : Part
A link connects the FromNode to the ToNode.
The rendering of a link is determined by the Diagram's LinkTemplate. This DataTemplate
may be a simple LinkShape
. 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.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.ContentPresenter
Northwoods.GoXam.Part
Northwoods.GoXam.Link