FlexSheet for WPF | ComponentOne
C1.Util Namespace / Util Class / GetChildrenOfType<T> Method
Type to look for.
Parent element.

In This Topic
    GetChildrenOfType<T> Method
    In This Topic
    Gets an element's children of a given type.
    Syntax
    'Declaration
     
    
    <IteratorStateMachineAttribute(C1.Util.Util/#HLd)>
    Public Shared Function GetChildrenOfType(Of T As DependencyObject)( _
       ByVal e As DependencyObject _
    ) As IEnumerable(Of T)
    [IteratorStateMachine(C1.Util.Util/#HLd)]
    public static IEnumerable<T> GetChildrenOfType<T>( 
       DependencyObject e
    )
    where T: DependencyObject

    Parameters

    e
    Parent element.

    Type Parameters

    T
    Type to look for.
    See Also