Returns the DiagramElement that interescts with the given Point. This could be a DiagramNodeElement or a DiagramConnectionElement. Returns null if there is no DiagramElement at the given point.

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

Syntax

C#
public DiagramElement FindElementAtPoint(
	Point point
)
Visual Basic (Declaration)
Public Function FindElementAtPoint ( _
	point As Point _
) As DiagramElement

Parameters

point
Type: System.Windows..::.Point
The Point object used to search for a DiagramElement.

Return Value

The DiagramElement that intersects with the given point.

See Also