Syncfusion.SfSchedule.WPF


FindParentElementOfType<T> Method (DependencyObjectExtensions)

Finds a specific parent element from visual tree by using element type.
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

Type Parameters

T
AssemblyVersion

Syncfusion.SfSchedule.WPF: 18.1460.0.36

See Also