FindChildOfType<T>(DependencyObject) Method
Finds the dependency object of a particular type in a given dependency object's children hierarchy
Syntax
'Declaration <ExtensionAttribute()> Public Overloads Shared Function FindChildOfType(Of T As DependencyObject)( _ ByVal depObj As DependencyObject _ ) As T
'Usage Dim depObj As DependencyObject Dim value As T value = DependencyObjectExtensions.FindChildOfType(Of T)(depObj)
[Extension()] public static T FindChildOfType<T>( DependencyObject depObj ) where T: DependencyObject
[Extension()] public: static T^ FindChildOfTypegeneric<typename T> ( DependencyObject^ depObj ) where T: DependencyObject
Parameters
- depObj
Type Parameters
- T
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also