6 writes to _localResources
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
104chrome._localResources = new LocalResources(); 175chrome._localResources = null; 210chrome._localResources = new LocalResources(); 236chrome._localResources = null; 314chrome._localResources = new LocalResources(); 369chrome._localResources = null;
42 references to _localResources
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\ScrollChrome.cs (42)
102if (chrome._localResources == null) 139else if (chrome._localResources == null) 208if (chrome._localResources == null) 312if (chrome._localResources == null) 1017if (_localResources != null) 1019if (_localResources.Fill == null) 1023_localResources.Fill = CommonHorizontalThumbFill.Clone(); 1027_localResources.Fill = CommonVerticalThumbFill.Clone(); 1034_localResources.Fill = CommonHorizontalThumbFill.Clone(); 1038_localResources.Fill = CommonVerticalThumbFill.Clone(); 1040_localResources.Fill.Opacity = 0; 1044return _localResources.Fill; 1163if (_localResources != null) 1165if (_localResources.OuterBorder == null) 1167_localResources.OuterBorder = CommonThumbOuterBorder.Clone(); 1172_localResources.OuterBorder.Brush.Opacity = 0; 1175return _localResources.OuterBorder; 1235if (_localResources != null) 1237if (_localResources.InnerBorder == null) 1239_localResources.InnerBorder = CommonThumbInnerBorder.Clone(); 1244_localResources.InnerBorder.Brush.Opacity = 0; 1247return _localResources.InnerBorder; 1306if (_localResources != null) 1308if (_localResources.Shadow == null) 1310_localResources.Shadow = CommonThumbShadow.Clone(); 1315_localResources.Shadow.Brush.Opacity = 0; 1318return _localResources.Shadow; 1668if (_localResources != null) 1670if (_localResources.Glyph == null) 1675_localResources.Glyph = new LinearGradientBrush(); 1676_localResources.Glyph.StartPoint = new Point(0, 0); 1679_localResources.Glyph.EndPoint = new Point(1, 0.05); 1683_localResources.Glyph.EndPoint = new Point(0.05, 1); 1686_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1687_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1688_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1692_localResources.Glyph = CommonButtonGlyph.Clone(); 1695return _localResources.Glyph; 1756if (_localResources != null) 1758if (_localResources.GlyphShadow == null) 1763_localResources.GlyphShadow = new SolidColorBrush(Colors.White); 1766return _localResources.GlyphShadow;