Implemented interface members:
method
TryGetValue
Microsoft.Maui.Controls.Internals.IResourceDictionary.TryGetValue(System.String, out System.Object)
6 references to TryGetValue
Microsoft.Maui.Controls (6)
ResourceDictionary.cs (3)
225
if (dictionaries[i].
TryGetValue
(index, out var value))
324
if (dictionary.
TryGetValue
(key, out value))
351
if (!
TryGetValue
(Style.StyleClassPrefix + style.Class, out outclasses) || (classes = outclasses as IList<Style>) == null)
ResourcesExtensions.cs (3)
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))
70
if (Application.Current != null && ((IResourcesProvider)Application.Current).IsResourcesCreated && Application.Current.Resources.
TryGetValue
(key, out value))