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

Glossary Item Box

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

© 2017 All Rights Reserved.