5 references to Key
Microsoft.Maui.Controls.Xaml (5)
MarkupExtensions\StaticResourceExtension.cs (5)
19 if (Key is null) 24 if (!TryGetResource(Key, valueProvider.ParentObjects, out var resource, out var resourceDictionary) 25 && !TryGetApplicationLevelResource(Key, out resource, out resourceDictionary)) 28 throw new XamlParseException($"StaticResource not found for key {Key}", xmlLineInfo); 31 Diagnostics.ResourceDictionaryDiagnostics.OnStaticResourceResolved(resourceDictionary, Key, valueProvider.TargetObject, valueProvider.TargetProperty);