0 out of 1 rated this helpful - Rate this topic

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

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

VisualTreeHelper

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.