Northwoods.GoXam Namespace : Link Class |
<ContentPropertyAttribute("Content")> Public Class Link Inherits Part Implements System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable
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
(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.
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