ExtensionMethods.FindDescendant<T> Method (DependencyObject)

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public static T FindDescendant<T>(
	this DependencyObject obj
)
where T : class

Parameters

obj
Type: System.Windows.DependencyObject

The object at which to begin searching.

Return Value

Type: T

The first descendant that satisfies the predicate, or null if no descendant is found.

Type Parameters

T

The type of descendant to find.

Return to top
Show: