1 write to ResourceKey
PresentationFramework (1)
System\Windows\ResourceDictionary.cs (1)
1303staticResourceWorker.ResourceKey = keyValue;
16 references to ResourceKey
PresentationFramework (16)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (2)
370if (!Object.Equals(result.Requester.ResourceKey, key)) 462result.Key = requester.ResourceKey;
System\Windows\StaticResourceExtension.cs (12)
53if (ResourceKey is SystemResourceKey) 55return (ResourceKey as SystemResourceKey).Resource; 90throw new Exception(SR.Format(SR.ParserNoResource, ResourceKey.ToString())); 139ResourceDictionaryDiagnostics.RecordLookupResult(ResourceKey, dict); 251if (resourceDictionary.Contains(ResourceKey)) 258var resourceDictionary = style.FindResourceDictionary(ResourceKey); 275value = dictionaryWithKey.Lookup(ResourceKey, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false); 279value = new DeferredResourceReferenceHolder(ResourceKey, value); 299val = FrameworkElement.FindResourceFromAppOrSystem(ResourceKey, 307val = SystemResources.FindResourceInternal(ResourceKey, 323object value = dictionaryWithKey.Lookup(ResourceKey, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false); 338val = new DeferredResourceReferenceHolder(ResourceKey, val);
System\Windows\TemplateContent.cs (2)
716newValue = new StaticResourceHolder(staticResource.ResourceKey, deferredResourceReference); 785return new StaticResourceHolder(resource.ResourceKey, value);