Intersoft ClientUI Documentation
TraverseChildrens Method



The UIElement to be traversed.
The deep length of children to be traversed.
The method that will be invoked on each child element found during traversal process.
Deep traverse the children of the specified UIElement and return the children based on condition in the provided Action.
Syntax
Public Shared Function TraverseChildrens( _
   ByVal element As UIElement, _
   ByVal deepLength As Integer, _
   ByVal action As Action(Of UIElement,TraverseEventArg) _
) As UIElement
Dim element As UIElement
Dim deepLength As Integer
Dim action As Action(Of UIElement,TraverseEventArg)
Dim value As UIElement
 
value = Utility.TraverseChildrens(element, deepLength, action)
public static UIElement TraverseChildrens( 
   UIElement element,
   int deepLength,
   Action<UIElement,TraverseEventArg> action
)
public:
static UIElement^ TraverseChildrens( 
   UIElement^ element,
   int deepLength,
   Action<UIElement^,TraverseEventArg^>^ action
) 

Parameters

element
The UIElement to be traversed.
deepLength
The deep length of children to be traversed.
action
The method that will be invoked on each child element found during traversal process.

Return Value

Returns child 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

Send Feedback