Table of Contents

Class RuntimeXamlLoaderConfiguration

Namespace
Avalonia.Markup.Xaml
Assembly
Avalonia.Markup.Xaml.dll
public class RuntimeXamlLoaderConfiguration
Inheritance
RuntimeXamlLoaderConfiguration
Inherited Members

Constructors

RuntimeXamlLoaderConfiguration()

public RuntimeXamlLoaderConfiguration()

Properties

DesignMode

Indicates whether the XAML is being loaded in design mode. Default is 'false'.

public bool DesignMode { get; set; }

Property Value

bool

DiagnosticHandler

XAML diagnostics handler.

public RuntimeXamlLoaderConfiguration.XamlDiagnosticFunc? DiagnosticHandler { get; set; }

Property Value

RuntimeXamlLoaderConfiguration.XamlDiagnosticFunc

Defines if any diagnostic severity should be overriden. Note, severity cannot be set lower than minimal for specific diagnostic.

LocalAssembly

Default assembly for clr-namespace:.

public Assembly? LocalAssembly { get; set; }

Property Value

Assembly

UseCompiledBindingsByDefault

Defines is CompiledBinding should be used by default. Default is 'false'.

public bool UseCompiledBindingsByDefault { get; set; }

Property Value

bool