Skip to main content

GetXamlSourceInfo(IResourceDictionary, Object) Method

Retrieves the XAML source information associated with the specified key in the given resource dictionary, if available.

Definition

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

public static XamlSourceInfo? GetXamlSourceInfo(
IResourceDictionary dictionary,
Object key
)

Parameters

  IResourceDictionary
The resource dictionary associated with the XAML source information.
  Object
The key associated with the source info.

Return Value

XamlSourceInfo
A XamlSourceInfo instance containing the XAML source information for the specified key, or null if no source information is available.

See Also

Reference

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