1 write to ResourceKey
PresentationFramework (1)
System\Windows\ResourceDictionary.cs (1)
1311
staticResourceWorker.
ResourceKey
= keyValue;
16 references to ResourceKey
PresentationFramework (16)
System\Windows\Diagnostics\ResourceDictionaryDiagnostics.cs (2)
376
if (!Object.Equals(result.Requester.
ResourceKey
, key))
468
result.Key = requester.
ResourceKey
;
System\Windows\StaticResourceExtension.cs (12)
61
if (
ResourceKey
is SystemResourceKey)
63
return (
ResourceKey
as SystemResourceKey).Resource;
98
throw new Exception(SR.Format(SR.ParserNoResource,
ResourceKey
.ToString()));
147
ResourceDictionaryDiagnostics.RecordLookupResult(
ResourceKey
, dict);
259
if (resourceDictionary.Contains(
ResourceKey
))
267
var resourceDictionary = style.FindResourceDictionary(
ResourceKey
);
284
value = dictionaryWithKey.Lookup(
ResourceKey
, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false);
288
value = new DeferredResourceReferenceHolder(
ResourceKey
, value);
308
val = FrameworkElement.FindResourceFromAppOrSystem(
ResourceKey
,
316
val = SystemResources.FindResourceInternal(
ResourceKey
,
332
object value = dictionaryWithKey.Lookup(
ResourceKey
, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false);
347
val = new DeferredResourceReferenceHolder(
ResourceKey
, val);
System\Windows\TemplateContent.cs (2)
717
newValue = new StaticResourceHolder(staticResource.
ResourceKey
, deferredResourceReference);
786
return new StaticResourceHolder(resource.
ResourceKey
, value);