var uri = new Uri(@"ViewBasicChartView.xaml", UriKind.Relative); var xamlModel = Application.LoadComponent(uri);
xamlModel即反射的XAML对象