Syncfusion.Gantt.Wpf


FindElementsOfType<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 FindElementsOfType(Of T As Class)( _
   ByVal element As FrameworkElement _
) As IEnumerable(Of T)
'Usage
 
Dim element As FrameworkElement
Dim value As IEnumerable(Of T)
 
value = DependencyObjectExtensions.FindElementsOfType(Of T)(element)
[Extension()]
public static IEnumerable<T> FindElementsOfType<T>( 
   FrameworkElement element
)
where T: class

Parameters

element

Type Parameters

T
AssemblyVersion

Syncfusion.Gantt.Wpf: 18.1460.0.36

See Also