ExtensionMethods.FindDescendant Method (DependencyObject, Predicate<DependencyObject>)
Visual Studio 2015
Microsoft internal use only.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public static DependencyObject FindDescendant( this DependencyObject obj, Predicate<DependencyObject> predicate )
Parameters
- obj
-
Type:
System.Windows.DependencyObject
The object at which to begin searching.
- predicate
-
Type:
System.Predicate<DependencyObject>
The predicate that selects the descendant object.
Return Value
Type: System.Windows.DependencyObjectThe first descendant that satisfies the predicate, or null if no descendant is found.
Show: