ExtensionMethods.FindDescendantsReverse<T>(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
In reverse order: Find all visual descendants of this dependency object of a particular type.
USE SPARINGLY.
This method walks the entire tree. Use of this method on large trees or excessively will introduce a performance hit.
public:
generic <typename T>
where T : class[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<T> ^ FindDescendantsReverse(System::Windows::DependencyObject ^ obj);
public static System.Collections.Generic.IEnumerable<T> FindDescendantsReverse<T> (this System.Windows.DependencyObject obj) where T : class;
static member FindDescendantsReverse : System.Windows.DependencyObject -> seq<'T (requires 'T : null)> (requires 'T : null)
<Extension()>
Public Function FindDescendantsReverse(Of T As Class) (obj As DependencyObject) As IEnumerable(Of T)
Type Parameters
- T
Parameters
- obj
- DependencyObject
Returns
IEnumerable<T>