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)
- C#
- VB
- F#
public static void SetXamlSourceInfo(
IResourceDictionary dictionary,
Object key,
XamlSourceInfo? info
)
Public Shared Sub SetXamlSourceInfo (
dictionary As IResourceDictionary,
key As Object,
info As XamlSourceInfo
)
static member SetXamlSourceInfo :
dictionary : IResourceDictionary *
key : Object *
info : XamlSourceInfo -> unit
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