GetParent<T> Method (CustomContentPresenter)
Navigates up the tree to find an ancestor of a given type.
'Declaration
Public Function GetParent(Of As Element)() As
public GetParent<>()
where T: Element
Type Parameters
- T
Return Value
A reference to the ancestor of the given type, null if not found.