Returns true if the two given Edges are adjacent to each other (in any direction), returns false otherwise.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static bool IsAdjacent(
	Edge edge1,
	Edge edge2
)
Visual Basic (Declaration)
Public Shared Function IsAdjacent ( _
	edge1 As Edge, _
	edge2 As Edge _
) As Boolean

Parameters

edge1
Type: Mindscape.WpfDiagramming..::.Edge
One of the edges to check for adjacency.
edge2
Type: Mindscape.WpfDiagramming..::.Edge
One of the edges to check for adjacency.

Return Value

Whether or not the two given edges are adjacent to each other (in any direction).

See Also