Syncfusion.Gantt.Wpf


FindElementOfType<T> Method (DependencyObjectExtensions)

Searches the subtree of an element (including that element) for an element of a particluar type.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function FindElementOfType(Of T As FrameworkElement)( _
   ByVal element As FrameworkElement _
) As T
'Usage
 
Dim element As FrameworkElement
Dim value As T
 
value = DependencyObjectExtensions.FindElementOfType(Of T)(element)
[Extension()]
public static T FindElementOfType<T>( 
   FrameworkElement element
)
where T: FrameworkElement

Parameters

element

Type Parameters

T
AssemblyVersion

Syncfusion.Gantt.Wpf: 18.1460.0.36

See Also