Table of Contents

Method GetChildren

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

GetChildren<T>(object?, bool)

Gets collection of the child elements in the specified container.

public static IEnumerable<T> GetChildren<T>(object? container, bool recursive)

Parameters

container object

Elements container.

recursive bool

Whether to get elements recursively.

Returns

IEnumerable<T>

Type Parameters

T

Type of the child element.