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