public static DependencyObject GetFirstParent( DependencyObject reference, IList<Type> types, DependencyObject endObject )
Parameters
- reference
- The visual whose parent is returned.
- types
- The IList list of types to search for.
- endObject
- The visual representing the end point of search.
Return Value
The parent of the visual.