Skip to main content

ServiceProvider Property

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

Definition​

Namespace: Avalonia.Markup.Xaml
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)

public IServiceProvider? ServiceProvider { get; set; }

Property Value​

IServiceProvider

See Also​

Reference​

RuntimeXamlLoaderDocument Class
Avalonia.Markup.Xaml Namespace