ArcFM Solution Developer Guide
FindChild<T> Method


The type of the queried item.
A direct parent of the queried item.
x:Name or Name of child.
Finds a Child of a given item in the visual tree.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function FindChild(Of T As System.Windows.DependencyObject)( _
   ByVal parent As System.Windows.DependencyObject, _
   ByVal childName As System.String _
) As T
'Usage
 
Dim parent As System.Windows.DependencyObject
Dim childName As System.String
Dim value As T
 
value = TreeHelper.FindChild(Of T)(parent, childName)
[System.Runtime.CompilerServices.Extension()]
public static T FindChild<T>( 
   System.Windows.DependencyObject parent,
   System.string childName
)
where T: System.Windows.DependencyObject

Parameters

parent
A direct parent of the queried item.
childName
x:Name or Name of child.

Type Parameters

T
The type of the queried item.

Return Value

The first parent item that matches the submitted type parameter. If not matching item can be found, a null parent is being returned.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TreeHelper Class
TreeHelper Members

 

 


Send Comment