'Declaration
Public Shared Function GetFirstParent( _ ByVal reference As System.Windows.DependencyObject, _ ByVal types As System.Collections.Generic.IList(Of Type), _ ByVal endObject As System.Windows.DependencyObject _ ) As System.Windows.DependencyObject
'Usage
Dim reference As System.Windows.DependencyObject Dim types As System.Collections.Generic.IList(Of Type) Dim endObject As System.Windows.DependencyObject Dim value As System.Windows.DependencyObject value = VTreeHelper.GetFirstParent(reference, types, endObject)
Parameters
- reference
- The visual whose parent is returned.
- types
- The System.Collections.Generic.IList`1 list of types to search for.
- endObject
- The visual representing the end point of search.
Return Value
The parent of the visual.