[]
        
(Showing Draft Content)

C1.WPF.Extensions.FindParent

FindParent Method

FindParent<T>(FrameworkElement)

Finds the first parent of a given type for a particular FrameworkElement

Declaration
public static T FindParent<T>(this FrameworkElement elem) where T : FrameworkElement
Public Shared Function FindParent(Of T As FrameworkElement)(elem As FrameworkElement) As T
Parameters
Type Name Description
FrameworkElement elem
Returns
Type Description
T

The first object whose type is

Type Parameters
Name Description
T