SharedWindowFindChildT Method
Finds a Child of a given item in the visual tree.
Namespace: Aliquo.WindowsAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public static T FindChild<T>(
DependencyObject parent,
string childName
)
where T : DependencyObject
Public Shared Function FindChild(Of T As DependencyObject) (
parent As DependencyObject,
childName As String
) As T
- parent DependencyObject
- A direct parent of the queried item.
- childName String
- x:Name or Name of child.
- T
- The type of the queried item.
TThe first parent item that matches the submitted type parameter.
If not matching item can be found,
a parent is being returned.