XamlDeferringLoader.Load Method (XamlReader, IServiceProvider)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Loads XAML content in a deferred mode, which is based on a XamlReader and certain required services from a service provider.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public abstract object Load(
	XamlReader xamlReader,
	IServiceProvider serviceProvider


Type: System.Xaml.XamlReader

The initiating reader that is returned on calls to Save.

Type: System.IServiceProvider

The service provider for the required services.

Return Value

Type: System.Object

The root object that is produced by the input XamlReader.

.NET Framework
Available since 4.0
Return to top