Syncfusion.SfGauge.WPF


FindElementOfType<T> Method (DependencyObjectExtensions)

Searches the sub tree of an element (including that element) for an element of a particular 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.SfGauge.WPF: 18.1460.0.36

See Also