Back to Devexpress

DiagramControl.CalcHitItem(Point) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-calchititem-x28-system-dot-windows-dot-point-x29.md

latest1.3 KB
Original Source

DiagramControl.CalcHitItem(Point) Method

Returns the diagram item located at the specified position.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public DiagramItem CalcHitItem(
    Point diagramRelativePoint
)
vb
Public Function CalcHitItem(
    diagramRelativePoint As Point
) As DiagramItem

Parameters

NameTypeDescription
diagramRelativePointPoint

A test point where a target element is located.

|

Returns

TypeDescription
DiagramItem

A diagram item located at the specified position.

|

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace