Search
Diagram.HitTestPriority Property
See Also
 






Gets or sets a value indicating the order in which items are hit-tested.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public HitTestPriority HitTestPriority { get; set; }

Visual Basic  Copy Code

Public Property HitTestPriority As HitTestPriority

 Property Value

A member of the HitTestPriority enumeration. The default value is NodesBeforeLinks.

 Remarks

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.

 See Also