Search
Diagram.GetItemAt Method (Point, Boolean)
See Also
 





Finds and returns the top-most diagram item that lies at the specified location.

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

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    Point point,
    bool exclLocked
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As Point, _
    exclLocked As Boolean _
) As DiagramItem

 Parameters

point

A Point instance identifying a diagram location.

exclLocked

Specifies whether to ignore locked items.

 Return Value

The DiagramItem found or null (Nothing in Visual Basic) if no item has been found.

 Remarks

Call the method to get the item at a certain location in the diagram. The method searches starting from the top of z-order and returns the first item found.

 See Also