public static T Wpf.FindControlByName<T>(DependencyObject root, string name) where T : class
Finds control by name using the supplied arguments.
Parameters
rootDependencyObject- Specifies root.
namestring- Specifies name.
Returns: The T result.