2 writes to _resources
PresentationFramework (2)
src\Framework\System\Windows\Style.cs (2)
306
_resources
= new ResourceDictionary();
330
_resources
= value;
25 references to _resources
PresentationFramework (25)
src\Framework\System\Windows\FrameworkElement.cs (8)
1668
fe.Style.
_resources
!= null )
1670
table = fe.Style.
_resources
;
1683
fce.Style.
_resources
!= null )
1685
table = fce.Style.
_resources
;
1708
fe.ThemeStyle.
_resources
!= null )
1710
table = fe.ThemeStyle.
_resources
;
1723
fce.ThemeStyle.
_resources
!= null )
1725
table = fce.ThemeStyle.
_resources
;
src\Framework\System\Windows\Style.cs (15)
304
if(
_resources
== null )
309
_resources
.CanBeAccessedAcrossThreads = true;
315
_resources
.IsReadOnly = true;
318
return
_resources
;
332
if (
_resources
!= null)
335
_resources
.CanBeAccessedAcrossThreads = true;
353
if ((
_resources
!= null) &&
_resources
.Contains(resourceKey))
356
return
_resources
.FetchResource(resourceKey, allowDeferredResourceReference, mustReturnDeferredResourceReference, out canCache);
368
if (
_resources
!= null &&
_resources
.Contains(resourceKey))
370
return
_resources
;
387
if (
_resources
== null)
555
if (
_resources
!= null)
557
_resources
.IsReadOnly = true;
src\Framework\System\Windows\StyleHelper.cs (2)
3556
if (style.
_resources
!= null)
3563
dictionaries.Add(style.
_resources
);