frmPrReportFindChildT Method
Finds a Child of a given item in the visual tree.
Namespace: MbcsCentral.WinGLAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public static T FindChild<T>(
DependencyObject parent,
string childName
)
where T : DependencyObject
- 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 null parent is being returned.