Gets or sets a value indicating the order in which items are hit-tested.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public HitTestPriority HitTestPriority { get; set; } |
Visual Basic Copy Code |
---|
Public Property HitTestPriority As HitTestPriority |
A member of the HitTestPriority enumeration. The default value is NodesBeforeLinks.
For easier selection, links have a hit-detection area several pixels wider than their visible segment lines. However, if several links with higher z-index cross a node, it would be difficult to select it. The HitTestPriority property allows altering hit-test results in such situations. If set to NodesBeforeLinks, nodes are hit-tested before all links. ZOrder makes all items tested in decreasing z-order, independently of their type.
WpfDiagram Programmer's Guide | © 2024 MindFusion |