2 implementations of IsResourcesCreated
Microsoft.Maui.Controls (2)
Application\Application.cs (1)
143 bool IResourcesProvider.IsResourcesCreated => _resources != null;
VisualElement\VisualElement.cs (1)
1060 bool IResourcesProvider.IsResourcesCreated => _resources != null;
8 references to IsResourcesCreated
Microsoft.Maui.Controls (6)
Application\Application.cs (1)
342 if (!((IResourcesProvider)this).IsResourcesCreated || Resources.Count == 0)
ResourcesExtensions.cs (3)
15 if (ve != null && ve.IsResourcesCreated) 62 if (element is IResourcesProvider ve && ve.IsResourcesCreated && ve.Resources.TryGetValue(key, out value)) 70 if (Application.Current != null && ((IResourcesProvider)Application.Current).IsResourcesCreated && Application.Current.Resources.TryGetValue(key, out value))
StyleSheets\StyleSheetExtensions.cs (1)
10 if (!resourcesProvider.IsResourcesCreated)
VisualElement\VisualElement.cs (1)
1506 if (!((IResourcesProvider)this).IsResourcesCreated || Resources.Count == 0)
Microsoft.Maui.Controls.Xaml (2)
MarkupExtensions\StaticResourceExtension.cs (2)
62 var resDict = p is IResourcesProvider irp && irp.IsResourcesCreated ? irp.Resources : p as ResourceDictionary; 76 && ((IResourcesProvider)Application.Current).IsResourcesCreated