This version of Unity is unsupported.

VisualElement.Hierarchy.parent

public UIElements.VisualElement parent;

Description

Access the physical parent of this element in the hierarchy