GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoToolLinkingNew Class
/ CanStart Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
CanStart Method (GoToolLinkingNew)
In This Topic
The user can draw a new link if the view allows it and if the port at the input event point is a valid source port or a valid destination port.
Syntax
C#
public
override
bool
CanStart()
Remarks
This calls
GoToolLinking.PickPort
to find a port at the mouse down point. At least one of the
IsValidFromPort
and
GoToolLinking.IsValidToPort
predicates must be true for the linking to start. This sets
OriginalStartPort
property for initializing this tool before the call to
Start
.
See Also
Reference
GoToolLinkingNew Class
GoToolLinkingNew Members