2 writes to _brushCache
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
428
decorator.
_brushCache
= new CustomBrushCache();
454
decorator.
_brushCache
= null;
15 references to _brushCache
PresentationFramework.Classic (15)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (15)
424
if (decorator.
_brushCache
== null || controlColor != decorator.
_brushCache
.LightBrush.Color)
426
if (decorator.
_brushCache
== null)
436
decorator.
_brushCache
.LightBrush = controlBrush;
437
decorator.
_brushCache
.LightLightBrush = new SolidColorBrush(GetControlLightLightColor(controlColor));
440
decorator.
_brushCache
.DarkBrush = new SolidColorBrush(darkColor);
449
decorator.
_brushCache
.DarkDarkBrush = new SolidColorBrush(darkDarkColor);
1354
return
_brushCache
!= null ?
_brushCache
.LightBrush : SystemColors.ControlLightBrush;
1363
return
_brushCache
!= null ?
_brushCache
.LightLightBrush : SystemColors.ControlLightLightBrush;
1372
return
_brushCache
!= null ?
_brushCache
.DarkBrush : SystemColors.ControlDarkBrush;
1381
return
_brushCache
!= null ?
_brushCache
.DarkDarkBrush : SystemColors.ControlDarkDarkBrush;