Northwoods.GoSilverlight 1.1.3 Assembly
Route Class
Members  See Also  Send Feedback
Northwoods.GoXam Namespace : Route Class

A Route is an object associated with a Link that computes and remembers the set of points that the link should follow to connect two nodes.

Syntax

Visual Basic (Declaration) 
Public Class Route 
   Inherits System.Windows.FrameworkElement
C# 
public class Route : System.Windows.FrameworkElement 

Remarks

The only use of a Route in XAML is as the value of the Route attached property:

              <DataTemplate x:Key="MyLinkTemplate">
                <go:LinkPanel go:Link.SelectionElementName="Path" go:Part.SelectionAdorned="True">
                  <go:Link.Route>
                    <go:Route Routing="Orthogonal" Corner="10" RelinkableFrom="True" RelinkableTo="True" />
                  </go:Link.Route>
                  <go:LinkShape x:Name="Path" Stroke="Black" StrokeThickness="1" />
                  <Polygon Fill="Black" Points="8 4  0 8  2 4  0 0" go:LinkPanel.Alignment="1 0.5" go:LinkPanel.Index="-1" go:LinkPanel.Orientation="Along" />
                </go:LinkPanel>
              </DataTemplate>
            

Although this class inherits from FrameworkElement in order to support data binding, it is not really a FrameworkElement or UIElement! Please ignore all of the properties, methods, and events defined by FrameworkElement and UIElement.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            Northwoods.GoXam.Route

See Also