Partager via


ExtensionMethods.FindDescendantsReverse<T>(DependencyObject) Method

Definition

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

Returns

Applies to