'Declaration <ExtensionAttribute()> Public Shared Function FindVisualAncestor(Of T As Class)( _ ByVal dependencyObject As DependencyObject _ ) As T
'Usage Dim dependencyObject As DependencyObject Dim value As T value = Extentions.FindVisualAncestor(Of T)(dependencyObject)
[Extension()] public static T FindVisualAncestor<T>( DependencyObject dependencyObject ) where T: class
Parameters
- dependencyObject
Type Parameters
- T