Northwoods.GoSilverlight 1.3.5 Assembly
StartElement Property
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace > LinkingTool Class : StartElement Property

Gets or sets the FrameworkElement at which FindLinkablePort should start its search.

Syntax

Visual Basic (Declaration) 
Public Property StartElement As FrameworkElement
C# 
public FrameworkElement StartElement {get; set;}

Property Value

The default value is null.

Remarks

If you want to explicitly start a new user mouse-gesture to draw a new link from a given FrameworkElement that may be a "port" element or may be within the visual tree of a "port" element, set this property to that element to let FindLinkablePort find the real "port" element. Then start and activate this tool:
              myDiagram.LinkingTool.StartElement = ...;
              myDiagram.CurrentTool = myDiagram.LinkingTool;
              myDiagram.CurrentTool.DoActivate();
            

Requirements

See Also

© 2012 All Rights Reserved.