RuntimeXamlLoaderConfiguration Class
Definition
public class RuntimeXamlLoaderConfiguration
Constructors
| Name | Description |
|---|---|
| RuntimeXamlLoaderConfiguration | No summary available. |
RuntimeXamlLoaderConfiguration Constructor
public RuntimeXamlLoaderConfiguration()
Properties
| Name | Description |
|---|---|
| CreateSourceInfo | When enabled, the XAML compiler embeds SourceInfo metadata (file path, line, and column) into generated code. Default is 'false'. |
| DesignMode | Indicates whether the XAML is being loaded in design mode. Default is 'false'. |
| DiagnosticHandler | XAML diagnostics handler. |
| LocalAssembly | Default assembly for clr-namespace:. |
| UseCompiledBindingsByDefault | Defines is CompiledBinding should be used by default. Default is 'false'. |
CreateSourceInfo Property
When enabled, the XAML compiler embeds SourceInfo metadata (file path, line, and column) into generated code. Default is 'false'.
public bool CreateSourceInfo { get; set; }
DesignMode Property
Indicates whether the XAML is being loaded in design mode. Default is 'false'.
public bool DesignMode { get; set; }
DiagnosticHandler Property
XAML diagnostics handler.
public Avalonia.Markup.Xaml.RuntimeXamlLoaderConfiguration.XamlDiagnosticFunc DiagnosticHandler { get; set; }
Returns
Defines if any diagnostic severity should be overriden. Note, severity cannot be set lower than minimal for specific diagnostic.
LocalAssembly Property
Default assembly for clr-namespace:.
public System.Reflection.Assembly LocalAssembly { get; set; }
UseCompiledBindingsByDefault Property
Defines is CompiledBinding should be used by default. Default is 'false'.
public bool UseCompiledBindingsByDefault { get; set; }