CompareTreeDepths(Control) Method

Definition

Assembly HeadlessTestingFramework.dll

Compares logical and visual tree depths for a control. Useful for understanding template expansion.

public static (int LogicalDepth, int VisualDepth) CompareTreeDepths(this Control control)

Parameters

control
Avalonia.Controls.Control

The control to analyze.

Returns

(T1 Item1, T2 Item2)<Int32, Int32>
A tuple of (logical depth, visual depth).