[]
The class contains information about diagram element which is closest to the target point.
public class DiagramHitTestInfo
Public Class DiagramHitTestInfo
| Name | Description |
|---|---|
| DiagramHitTestInfo() |
| Name | Description |
|---|---|
| Distance | Distance from the point to the closest element. |
| Element | Diagram element (node or edge) which closest to the point. |
| Index | Index of element. When point belongs to the diagram legend, the index contains the index of legend item. |
| Item | Get the data bound object which corresponds to the diagram element. |
| Part | Diagram part related to the point. |
| X | Original X-coordinate specified in HitTest method. |
| Y | Original Y-coordinate specified in HitTest method. |