Table of Contents

Method FindViewInContainer

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

FindViewInContainer<T>(VisualElement)

Finds a view of the specified type inside a container.

public static T? FindViewInContainer<T>(VisualElement element) where T : VisualElement

Parameters

element VisualElement

The container to search in.

Returns

T

The first matching view if found, otherwise null.

Type Parameters

T

The type of view to find.