Skip to main content

GetXamlSourceInfo(Object) Method

Retrieves the XAML source information associated with the specified object, if available.

Definition

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

public static XamlSourceInfo? GetXamlSourceInfo(
Object obj
)

Parameters

  Object
The object for which to obtain XAML source information. Cannot be null.

Return Value

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

See Also

Reference

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