ExtensionMethods::FindAncestorOrSelf Method
Visual Studio 2015
Tinds the first ancestor of a given type in the logical or visual tree, or the object itself if it matches in type.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType, TElementType>^, Func<TElementType, Boolean>^) | |
![]() ![]() | FindAncestorOrSelf<TAncestorType>(Visual^) | Finds the first ancestor of a given type in the logical or visual tree, or the object itself if it matches in type. |
![]() ![]() | FindAncestorOrSelf<TAncestorType, TElementType>(TElementType, Func<TElementType, TElementType>^) |
Show:

