GetDescendantCount(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the number of descendants (all levels).

public static int GetDescendantCount(this Visual visual)

Parameters

visual
Avalonia.Visual

The root visual.

Returns

Int32
The count of all descendants.