Checks which node is at a given location in the layout.
Namespace: TreeLayoutHelper.HierarchyLayoutAssembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C# |
---|
public override IEnumerable<NodeWithBounds<TNode>> GetNodesAtPoint( int x, int y ) |
Visual Basic |
---|
Public Overrides Function GetNodesAtPoint ( _ x As Integer, _ y As Integer _ ) As IEnumerable(Of NodeWithBounds(Of TNode)) |
Visual C++ |
---|
public: virtual IEnumerable<NodeWithBounds<TNode>>^ GetNodesAtPoint( int x, int y ) override |
J# |
---|
public IEnumerable<NodeWithBounds<TNode>> GetNodesAtPoint( int x, int y ) |
JScript |
---|
public override function GetNodesAtPoint( x : int, y : int ) : IEnumerable<NodeWithBounds<TNode>> |
JavaScript |
---|
function GetNodesAtPoint(x, y); |
Parameters
- x
- Type: System..::..Int32
The horizontal position.
- y
- Type: System..::..Int32
The vertical position.
Return Value
An enumeration of all nodes found at the given location, ordered from the topmost to the bottommost in the case of overlapping nodes.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | Canvas is currently nullNothingnullptra null reference (Nothing in Visual Basic). |