Syncfusion.Schedule.Wpf


The element.

FindParentElementOfType<T> Method (DependencyObjectExtensions)

Finds the type of the parent element of T.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function FindParentElementOfType(Of T As Class)( _
   ByVal element As FrameworkElement _
) As T
'Usage
 
Dim element As FrameworkElement
Dim value As T
 
value = DependencyObjectExtensions.FindParentElementOfType(Of T)(element)
[Extension()]
public static T FindParentElementOfType<T>( 
   FrameworkElement element
)
where T: class

Parameters

element
The element.

Type Parameters

T
AssemblyVersion

Syncfusion.Schedule.Wpf: 18.1460.0.36

See Also