PrintLogicalTree(ILogical, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Prints the logical tree structure to a string for debugging.

public static string PrintLogicalTree(this ILogical root, int maxDepth = 2147483647)

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical to print from.

maxDepth
Int32

Maximum depth to print (default is unlimited).

Returns

String
A string representation of the tree structure.