FrameworkElement
at which FindLinkablePort should start its search.
Visual Basic (Declaration) | |
---|---|
Public Property StartElement As FrameworkElement |
C# | |
---|---|
public FrameworkElement StartElement {get; set;} |
Property Value
The default value is null.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();