Method FindViewInContainer
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
VisualElementThe container to search in.
Returns
- T
The first matching view if found, otherwise null.
Type Parameters
T
The type of view to find.