Piccolo.NET

PNavigationEventHandler.NodeIsNeighborInDirection Method 

Returns true if the given node is a neighbor of the current focus in the specified direction.

public virtual bool NodeIsNeighborInDirection(
   PNode aNode,
   Direction aDirection
);

Parameters

aNode
The node to test.
aDirection
The direction in which to perform the test.

Return Value

True if the given node is a neighbor in the specified direction; otherwise, false.

See Also

PNavigationEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace