ElementHelper.FindVisualTreeParent<TType>

Finds the parent by walking the complete visual tree until a parent of a certain type is found, or the end of the chain is reached

public static TType FindVisualTreeParent<TType>(FrameworkElement element)

Return Value

FrameworkElement.

Parameters

element
The parentElement.


See also:

Class ElementHelper

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic