1 write to FilePath
Microsoft.Maui.Controls.Xaml (1)
XamlFilePathAttribute.cs (1)
11 public XamlFilePathAttribute([CallerFilePath] string filePath = "") => FilePath = filePath;
1 reference to FilePath
Microsoft.Maui.Controls.Xaml (1)
XamlFilePathAttribute.cs (1)
15 internal static string GetFilePathForObject(object view) => (view?.GetType().GetCustomAttributes(typeof(XamlFilePathAttribute), false).FirstOrDefault() as XamlFilePathAttribute)?.FilePath;