Method HideViewsInContainer
HideViewsInContainer<T>(VisualElement?, Type?)
Hides all child views of the specified type within the given container.
public static void HideViewsInContainer<T>(VisualElement? element, Type? noHide = null) where T : VisualElement
Parameters
element
VisualElementThe container element whose child views will be evaluated. Must implement IVisualTreeElement.
noHide
TypeThe type of view which will not be hidden.
Type Parameters
T
The type of child views to hide. Must derive from VisualElement.