ComponentOne FinancialChart for WPF
GetChildrenOfType Method



C1.WPF Namespace > VTreeHelper Class : GetChildrenOfType Method
The parent visual, referenced as a System.Windows.DependencyObject.
The System.Type of the children element to search for.
The IList object to fill with found objects.
Returns all children visual objects of the specified type within a specified parent.
Syntax
'Declaration
 
Public Shared Sub GetChildrenOfType( _
   ByVal reference As DependencyObject, _
   ByVal type As Type, _
   ByRef list As IList(Of DependencyObject) _
) 
'Usage
 
Dim reference As DependencyObject
Dim type As Type
Dim list As IList(Of DependencyObject)
 
VTreeHelper.GetChildrenOfType(reference, type, list)
public static void GetChildrenOfType( 
   DependencyObject reference,
   Type type,
   ref IList<DependencyObject> list
)
public:
static void GetChildrenOfType( 
   DependencyObject^ reference,
   Type^ type,
   IList<DependencyObject^>^% list
) 

Parameters

reference
The parent visual, referenced as a System.Windows.DependencyObject.
type
The System.Type of the children element to search for.
list
The IList object to fill with found objects.
See Also

Reference

VTreeHelper Class
VTreeHelper Members