1 implementation of IResourceDictionary
Microsoft.Maui.Controls (1)
ResourceDictionary.cs (1)
19 public class ResourceDictionary : IResourceDictionary, IDictionary<string, object>
15 references to IResourceDictionary
Microsoft.Maui.Controls (13)
Application\Application.cs (7)
24 readonly Lazy<IResourceDictionary?> _systemResources; 43 _systemResources = new Lazy<IResourceDictionary?>(() => 45 var systemResources = DependencyService.Get<ISystemResourcesProvider>().GetSystemResources(); 133 internal IResourceDictionary? SystemResources => _systemResources.Value; 154 ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged; 163 ((IResourceDictionary)_resources).ValuesChanged -= OnResourcesChanged; 167 ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged;
Compatibility\iOS\ResourcesProvider.cs (1)
31 public IResourceDictionary GetSystemResources()
ISystemResourcesProvider.cs (1)
11 IResourceDictionary GetSystemResources();
ResourceDictionary.cs (1)
336 event EventHandler<ResourcesChangedEventArgs> IResourceDictionary.ValuesChanged
VisualElement\VisualElement.cs (3)
1077 ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged; 1086 ((IResourceDictionary)_resources).ValuesChanged -= OnResourcesChanged; 1090 ((IResourceDictionary)_resources).ValuesChanged += OnResourcesChanged;
Microsoft.Maui.Controls.Xaml (2)
XamlLoader.cs (2)
141 public static IResourceDictionary LoadResources(string xaml, IResourcesProvider rootView) 198 return visitorContext.Values[resources] as IResourceDictionary;