DiagramControl.CalcHitItem(PointF) Method

Returns the diagram item located at the specified position.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

public DiagramItem CalcHitItem(
    PointF diagramRelativePoint
)
Public Function CalcHitItem(
    diagramRelativePoint As PointF
) As DiagramItem

Parameters

Name Type Description
diagramRelativePoint PointF

A test point where a target element is located.

Returns

Type Description
DiagramItem

A diagram item located at the specified position.

See Also