Summary
Enumerates an
IVisual
and its descendants in the visual tree.
- Namespace
- Avalonia
.VisualTree - Containing Type
- VisualExtensions
Syntax
public static IEnumerable<IVisual> GetSelfAndVisualDescendants(this IVisual visual)
Parameters
Name | Type | Description |
---|---|---|
visual | IVisual | The visual. |
Return Value
Type | Description |
---|---|
IEnumerable |
The visual and its ancestors. |