Compares logical and visual tree depths for a control. Useful for understanding template expansion.
public static (int LogicalDepth, int VisualDepth) CompareTreeDepths(this Control control)
The control to analyze.