ExtensionMethods::FindDescendant Method (DependencyObject^, Predicate<DependencyObject^>^)
Visual Studio 2015
Microsoft internal use only.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public: [ExtensionAttribute] static DependencyObject^ FindDescendant( 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::DependencyObject^The first descendant that satisfies the predicate, or null if no descendant is found.
Show: