frmPrReportFindChildT Method

Finds a Child of a given item in the visual tree.

Definition

Namespace: MbcsCentral.WinGL
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public static T FindChild<T>(
	DependencyObject parent,
	string childName
)
where T : DependencyObject

Parameters

parent  DependencyObject
A direct parent of the queried item.
childName  String
x:Name or Name of child.

Type Parameters

T
The type of the queried item.

Return Value

T
The first parent item that matches the submitted type parameter. If not matching item can be found, a null parent is being returned.

See Also