ComponentOne FinancialChart for WPF
GetAllParents Method



C1.WPF Namespace > Extensions Class : GetAllParents Method
Returns all the parents in the visual tree
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function GetAllParents( _
   ByVal elem As FrameworkElement _
) As IList(Of FrameworkElement)
'Usage
 
Dim elem As FrameworkElement
Dim value As IList(Of FrameworkElement)
 
value = Extensions.GetAllParents(elem)
[Extension()]
public static IList<FrameworkElement> GetAllParents( 
   FrameworkElement elem
)
[Extension()]
public:
static IList<FrameworkElement^>^ GetAllParents( 
   FrameworkElement^ elem
) 

Parameters

elem

Return Value

The list of ancestor framework elements in the visual tree hierarchy
See Also

Reference

Extensions Class
Extensions Members