Intersoft ClientUI Documentation
GetChildsRecursive(DependencyObject,Boolean) Method



The root element.
include root element in the query
Gets all coresponding childs from given root element.
Syntax
Public Overloads Shared Function GetChildsRecursive( _
   ByVal root As DependencyObject, _
   ByVal includeRoot As Boolean _
) As IEnumerable(Of DependencyObject)
Dim root As DependencyObject
Dim includeRoot As Boolean
Dim value As IEnumerable(Of DependencyObject)
 
value = Utility.GetChildsRecursive(root, includeRoot)
public static IEnumerable<DependencyObject> GetChildsRecursive( 
   DependencyObject root,
   bool includeRoot
)
public:
static IEnumerable<DependencyObject^>^ GetChildsRecursive( 
   DependencyObject^ root,
   bool includeRoot
) 

Parameters

root
The root element.
includeRoot
include root element in the query

Return Value

All childs that belongs to given root element.
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

Reference

Utility Class
Utility Members
Overload List

Send Feedback