Intersoft ClientUI Documentation
GetChildsRecursive(DependencyObject,Boolean) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > Utility Class > GetChildsRecursive Method : GetChildsRecursive(DependencyObject,Boolean) Method






root
The root element.
includeRoot
include root element in the query
Gets all coresponding childs from given root element.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetChildsRecursive( _
   ByVal root As DependencyObject, _
   ByVal includeRoot As Boolean _
) As IEnumerable(Of DependencyObject)
Visual Basic (Usage)Copy Code
Dim root As DependencyObject
Dim includeRoot As Boolean
Dim value As IEnumerable(Of DependencyObject)
 
value = Utility.GetChildsRecursive(root, includeRoot)
C# 
public static IEnumerable<DependencyObject> GetChildsRecursive( 
   DependencyObject root,
   bool includeRoot
)
Delphi 
public function GetChildsRecursive( 
    root: DependencyObject;
    includeRoot: Boolean
): IEnumerable; static; 
JScript 
public static function GetChildsRecursive( 
   root : DependencyObject,
   includeRoot : boolean
) : IEnumerable;
Managed Extensions for C++ 
public: static IEnumerable<DependencyObject*>* GetChildsRecursive( 
   DependencyObject* root,
   bool includeRoot
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.