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