1 write to ResourceKey
PresentationFramework (1)
src\Framework\System\Windows\ResourceDictionary.cs (1)
1316
staticResourceWorker.
ResourceKey
= keyValue;
14 references to ResourceKey
PresentationFramework (14)
src\Framework\System\Windows\StaticResourceExtension.cs (12)
63
if (
ResourceKey
is SystemResourceKey)
65
return (
ResourceKey
as SystemResourceKey).Resource;
103
throw new Exception(SR.Get(SRID.ParserNoResource,
ResourceKey
.ToString()));
152
ResourceDictionaryDiagnostics.RecordLookupResult(
ResourceKey
, dict);
264
if (resourceDictionary.Contains(
ResourceKey
))
272
var resourceDictionary = style.FindResourceDictionary(
ResourceKey
);
289
value = dictionaryWithKey.Lookup(
ResourceKey
, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false);
293
value = new DeferredResourceReferenceHolder(
ResourceKey
, value);
313
val = FrameworkElement.FindResourceFromAppOrSystem(
ResourceKey
,
321
val = SystemResources.FindResourceInternal(
ResourceKey
,
337
object value = dictionaryWithKey.Lookup(
ResourceKey
, allowDeferredReference, mustReturnDeferredResourceReference, canCacheAsThemeResource:false);
352
val = new DeferredResourceReferenceHolder(
ResourceKey
, val);
src\Framework\System\Windows\TemplateContent.cs (2)
782
newValue = new StaticResourceHolder(staticResource.
ResourceKey
, deferredResourceReference);
851
return new StaticResourceHolder(resource.
ResourceKey
, value);