VisualExtensions.

GetVisualDescendants(IVisual) Method

Summary

Enumerates the descendants of an IVisual in the visual tree.
Namespace
Avalonia.VisualTree
Containing Type
VisualExtensions

Syntax

public static IEnumerable<IVisual> GetVisualDescendants(this IVisual visual)

Parameters

Name Type Description
visual IVisual The visual.

Return Value

Type Description
IEnumerable<IVisual> The visual's ancestors.