Skip to main content

CreateSourceInfo Property

When enabled, the XAML compiler embeds SourceInfo metadata (file path, line, and column) into generated code. Default is 'false'.

Definition

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

public bool CreateSourceInfo { get; set; }

Property Value

Boolean

See Also

Reference

RuntimeXamlLoaderConfiguration Class
Avalonia.Markup.Xaml Namespace