GetParentOfType Method (CustomContentPresenter)
Navigates up the tree to find an ancestor of a given type.
'Declaration
Public Function GetParentOfType( _
ByVal As Type _
) As Element
public Element GetParentOfType(
Type
)
Parameters
- type
- Type of element we're looking for.
Return Value
A reference to the ancestor of the given type, null if not found.