[]
Navigates up the tree to find an ancestor of a given type.
public T GetParent<T>() where T : Element
A reference to the ancestor of the given type, null if not found.