ExtensionMethods.FindAncestorOrSelf Method

Include Protected Members
Include Inherited Members

Tinds the first ancestor of a given type in the logical or visual tree, or the object itself if it matches in type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member 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.
Public methodStatic member FindAncestorOrSelf<TAncestorType, TElementType>(TElementType, Func<TElementType, TElementType>)
Public methodStatic member FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType, TElementType>, Func<TElementType, Boolean>)

Top

See Also

Reference

ExtensionMethods Class

Microsoft.VisualStudio.PlatformUI Namespace