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