2 implementations of Resources
Microsoft.Maui.Controls (2)
Application\Application.cs (1)
146 public ResourceDictionary Resources
VisualElement\VisualElement.cs (1)
1070 public ResourceDictionary Resources
6 references to Resources
Microsoft.Maui.Controls (5)
ResourcesExtensions.cs (3)
18 foreach (KeyValuePair<string, object> res in ve.Resources.MergedResources) 23 if (!resources.ContainsKey(res.Key) && ve.Resources.TryGetValue(res.Key, out object value)) 62 if (element is IResourcesProvider ve && ve.IsResourcesCreated && ve.Resources.TryGetValue(key, out value))
StyleSheets\StyleSheetExtensions.cs (2)
12 if (resourcesProvider.Resources.StyleSheets == null) 14 foreach (var styleSheet in resourcesProvider.Resources.StyleSheets)
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\StaticResourceExtension.cs (1)
62 var resDict = p is IResourcesProvider irp && irp.IsResourcesCreated ? irp.Resources : p as ResourceDictionary;