VisualTreeHelper.GetChild method
Using the provided index, obtains a specific child object of the provided object by examining the visual tree.
Syntax
Public Shared Function GetChild( reference As DependencyObject, childIndex As Integer ) As DependencyObject
Parameters
- reference
-
Type: DependencyObject
The object that holds the child collection.
- childIndex
-
Type: System.Int32 [.NET] | int32 [C++]
The index of the requested child object in the reference child collection.
Return value
Type: DependencyObject
The child object as referenced by childIndex.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
