System.Windows.Markup.XamlReader.LoadWithInitialTemplateValidation C# (CSharp) Method

LoadWithInitialTemplateValidation() private method

private LoadWithInitialTemplateValidation ( string xaml ) : object
xaml string
return object
		public static object LoadWithInitialTemplateValidation (string xaml)
		{
			XamlLoader loader = XamlLoader.CreateManagedXamlLoader (Deployment.Current.EntryAssembly, null, Deployment.Current.Surface.Native, PluginHost.Handle);
			
			return loader.CreateObjectFromString (xaml, true, true);
		}
	}