ExtensionMethods::FindAncestor Method
Visual Studio 2015
Finds the first ancestor of a given type in the logical or visual tree.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | FindAncestor<TElementType>(TElementType, Func<TElementType, TElementType>^, Func<TElementType, Boolean>^) | |
![]() ![]() | FindAncestor<TAncestorType>(Visual^) | Finds the first ancestor of a given type in the logical or visual tree. |
![]() ![]() | FindAncestor<TAncestorType, TElementType>(TElementType, Func<TElementType, TElementType>^) | Microsoft internal use only. |
Show:

