[]
        
(Showing Draft Content)

C1.Framework.Element.GetParent

GetParent Method

GetParent<T>()

Navigates up the tree to find an ancestor of a given type.

Declaration
public T GetParent<T>() where T : Element
Returns
Type Description
T

A reference to the ancestor of the given type, null if not found.

Type Parameters
Name Description
T