Basic Library for WinRT
GetChildOfType Method

The parent visual, referenced as a Windows.UI.Xaml.DependencyObject.
The System.Type of the children element to search for.
Returns the first child visual object of the specified type within a specified parent.
Syntax
'Declaration
 
Public Shared Function GetChildOfType( _
   ByVal reference As Windows.UI.Xaml.DependencyObject, _
   ByVal type As System.Type _
) As Windows.UI.Xaml.DependencyObject
public static Windows.UI.Xaml.DependencyObject GetChildOfType( 
   Windows.UI.Xaml.DependencyObject reference,
   System.Type type
)

Parameters

reference
The parent visual, referenced as a Windows.UI.Xaml.DependencyObject.
type
The System.Type of the children element to search for.

Return Value

The visual object of the specified type.
See Also

Reference

VTreeHelper Class
VTreeHelper Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback