private void LoadXamlForWpf()
        {
            try
            {
                var visualTree = new WpfXamlLoader().Load(Xaml);

                var window = GetVisualizerWindow(visualTree);
                window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                window.DataContext           = new TestViewModel();
                window.Show();
            }
            catch (XamlLoadException e)
            {
                ShowProblemLoadingError(e);
            }
        }
 protected object LoadXaml(string xamlContent)
 {
     var p = new WpfXamlLoader();
     return p.Load(xamlContent);
 }
 protected object LoadXaml(string xamlContent)
 {
     var p = new WpfXamlLoader();
     return LoadMixin.Load(p, xamlContent);
 }
        protected object LoadXaml(string xamlContent)
        {
            var p = new WpfXamlLoader();

            return(LoadMixin.Load(p, xamlContent));
        }