TreeNodeExtensionsNextNodeDepth Method

Gets the next node by depth search.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static TreeNode? NextNodeDepth(
	this TreeNode? node
)

Parameters

node  TreeNode
The start node.

Return Value

TreeNode
The next node by depth search, or if next node was not found.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TreeNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also