Skip to main content

RuntimeXamlLoaderDocument Class

Definition

Assembly:Avalonia.Markup.Xaml
Package:Avalonia
public class RuntimeXamlLoaderDocument

Inheritance: object -> RuntimeXamlLoaderDocument

Constructors

NameDescription
RuntimeXamlLoaderDocument (8 overloads)No summary available.

RuntimeXamlLoaderDocument overloads

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(System.IO.Stream stream)
Parameters

stream System.IO.Stream

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(object rootInstance, System.IO.Stream stream)
Parameters

rootInstance object

stream System.IO.Stream

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(object rootInstance, string xaml)
Parameters

rootInstance object

xaml string

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(string xaml)
Parameters

xaml string

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(Uri baseUri, System.IO.Stream stream)
Parameters

baseUri Uri

stream System.IO.Stream

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(Uri baseUri, object rootInstance, System.IO.Stream stream)
Parameters

baseUri Uri

rootInstance object

stream System.IO.Stream

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(Uri baseUri, object rootInstance, string xaml)
Parameters

baseUri Uri

rootInstance object

xaml string

RuntimeXamlLoaderDocument Constructor

public RuntimeXamlLoaderDocument(Uri baseUri, string xaml)
Parameters

baseUri Uri

xaml string

Properties

NameDescription
BaseUriThe URI of the XAML being loaded.
DocumentPath to the XAML document being loaded.
RootInstanceThe optional instance into which the XAML should be loaded.
ServiceProviderParent's service provider to pass to the Build method or type ctor, if available.
XamlStreamThe stream containing the XAML.

BaseUri Property

The URI of the XAML being loaded.

public Uri BaseUri { get; set; }

Document Property

Path to the XAML document being loaded.

public string Document { get; set; }

RootInstance Property

The optional instance into which the XAML should be loaded.

public object RootInstance { get; set; }

ServiceProvider Property

Parent's service provider to pass to the Build method or type ctor, if available.

public IServiceProvider ServiceProvider { get; set; }

XamlStream Property

The stream containing the XAML.

public System.IO.Stream XamlStream { get; set; }