6 writes to _localResources
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
115chrome._localResources = new LocalResources(); 186chrome._localResources = null; 221chrome._localResources = new LocalResources(); 247chrome._localResources = null; 325chrome._localResources = new LocalResources(); 380chrome._localResources = null;
42 references to _localResources
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\ScrollChrome.cs (42)
113if (chrome._localResources == null) 150else if (chrome._localResources == null) 219if (chrome._localResources == null) 323if (chrome._localResources == null) 1028if (_localResources != null) 1030if (_localResources.Fill == null) 1034_localResources.Fill = CommonHorizontalThumbFill.Clone(); 1038_localResources.Fill = CommonVerticalThumbFill.Clone(); 1045_localResources.Fill = CommonHorizontalThumbFill.Clone(); 1049_localResources.Fill = CommonVerticalThumbFill.Clone(); 1051_localResources.Fill.Opacity = 0; 1055return _localResources.Fill; 1174if (_localResources != null) 1176if (_localResources.OuterBorder == null) 1178_localResources.OuterBorder = CommonThumbOuterBorder.Clone(); 1183_localResources.OuterBorder.Brush.Opacity = 0; 1186return _localResources.OuterBorder; 1246if (_localResources != null) 1248if (_localResources.InnerBorder == null) 1250_localResources.InnerBorder = CommonThumbInnerBorder.Clone(); 1255_localResources.InnerBorder.Brush.Opacity = 0; 1258return _localResources.InnerBorder; 1317if (_localResources != null) 1319if (_localResources.Shadow == null) 1321_localResources.Shadow = CommonThumbShadow.Clone(); 1326_localResources.Shadow.Brush.Opacity = 0; 1329return _localResources.Shadow; 1679if (_localResources != null) 1681if (_localResources.Glyph == null) 1686_localResources.Glyph = new LinearGradientBrush(); 1687_localResources.Glyph.StartPoint = new Point(0, 0); 1690_localResources.Glyph.EndPoint = new Point(1, 0.05); 1694_localResources.Glyph.EndPoint = new Point(0.05, 1); 1697_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5)); 1698_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7)); 1699_localResources.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1)); 1703_localResources.Glyph = CommonButtonGlyph.Clone(); 1706return _localResources.Glyph; 1767if (_localResources != null) 1769if (_localResources.GlyphShadow == null) 1774_localResources.GlyphShadow = new SolidColorBrush(Colors.White); 1777return _localResources.GlyphShadow;