Share via


SearchUI.DiscoverNamedChildren(UIElement) Method

Definition

Traverses the visual tree of UI elements and returns all the named children under a given UI element.

protected:
 System::Collections::Generic::List<System::Windows::UIElement ^> ^ DiscoverNamedChildren(System::Windows::UIElement ^ child);
protected System.Collections.Generic.List<System.Windows.UIElement> DiscoverNamedChildren (System.Windows.UIElement child);
member this.DiscoverNamedChildren : System.Windows.UIElement -> System.Collections.Generic.List<System.Windows.UIElement>
Protected Function DiscoverNamedChildren (child As UIElement) As List(Of UIElement)

Parameters

child
UIElement

Specifies the user interface (UI) element.

Returns

Applies to