System.Windows.Application.GetComponentTypeFromName C# (CSharp) Method