Search
Diagram.GetItemAt Method (Point, Predicate(DiagramItem))
See Also
 





Returns the top-most diagram item lying at the specified location.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    Point point,
    Predicate<DiagramItem> predicate
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As Point, _
    predicate As Predicate(Of DiagramItem) _
) As DiagramItem

 Parameters

point

Specifies a location in the diagram where to look for items.

predicate

A predicate specifying which items to hit-test.

 Return Value

A DiagramItem instance found at the specified point.

 See Also