Skip to main content

SetXamlSourceInfo(IResourceDictionary, Object, XamlSourceInfo) Method

Associates XAML source information with the specified key in the given resource dictionary.

Definition

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

public static void SetXamlSourceInfo(
IResourceDictionary dictionary,
Object key,
XamlSourceInfo? info
)

Parameters

  IResourceDictionary
The resource dictionary to associate with the XAML source information.
  Object
The key associated with the source info.
  XamlSourceInfo
The XAML source information to associate with the object, or null to remove any existing association.

See Also

Reference

XamlSourceInfo Class
SetXamlSourceInfo Overload
Avalonia.Markup.Xaml.Diagnostics Namespace