Table of Contents

Method AllParents

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

AllParents(Element?)

Enumerates all parent elements of the specified VisualElement.

public static IEnumerable<Element> AllParents(Element? element)

Parameters

element Element

The VisualElement to retrieve parents for.

Returns

IEnumerable<Element>

An enumerable collection of parent VisualElement instances.