LogicalTree.FindChildByName(FrameworkElement, String) Method

Definition

Find logical child control using its name.

C#
public static Windows.UI.Xaml.FrameworkElement FindChildByName (this Windows.UI.Xaml.FrameworkElement element, string name);

Parameters

element
Windows.UI.Xaml.FrameworkElement

Parent element.

name
String

Name of the control to find.

Returns

Windows.UI.Xaml.FrameworkElement

Child control or null if not found.

Applies to

Producto Versiones
Windows Community Toolkit 6.1.1