Partager via


ExtensionMethods.FindAncestor Method

Include Protected Members
Include Inherited Members

Finds the first ancestor of a given type in the logical or visual tree.

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 FindAncestor<TAncestorType>(Visual) Finds the first ancestor of a given type in the logical or visual tree.
Public methodStatic member FindAncestor<TAncestorType, TElementType>(TElementType, Func<TElementType, TElementType>)
Public methodStatic member FindAncestor<TElementType>(TElementType, Func<TElementType, TElementType>, Func<TElementType, Boolean>)

Top

See Also

Reference

ExtensionMethods Class

Microsoft.VisualStudio.PlatformUI Namespace