WPF Uri反射加载XAML
var uri = new Uri(@"View\Basic\ChartView.xaml", UriKind.Relative);
var xamlModel = Application.LoadComponent(uri);
xamlModel即反射的XAML对象
var uri = new Uri(@"View\Basic\ChartView.xaml", UriKind.Relative);
var xamlModel = Application.LoadComponent(uri);
xamlModel即反射的XAML对象