LogicalTree.FindChildByName(FrameworkElement, String) Method
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.
Find logical child control using its name.
C#
public static Windows.UI.Xaml.FrameworkElement FindChildByName (this Windows.UI.Xaml.FrameworkElement element, string name);
static member FindChildByName : Windows.UI.Xaml.FrameworkElement * string -> Windows.UI.Xaml.FrameworkElement
<Extension()>
Public Function FindChildByName (element As FrameworkElement, name As String) As FrameworkElement
- element
- Windows.UI.Xaml.FrameworkElement
Parent element.
- name
- String
Name of the control to find.
Windows.UI.Xaml.FrameworkElement
Child control or null if not found.
Producto | Versiones |
---|---|
Windows Community Toolkit | 6.1.1 |