6 writes to _localResources
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
104
chrome.
_localResources
= new LocalResources();
175
chrome.
_localResources
= null;
210
chrome.
_localResources
= new LocalResources();
236
chrome.
_localResources
= null;
314
chrome.
_localResources
= new LocalResources();
369
chrome.
_localResources
= null;
42 references to _localResources
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\ScrollChrome.cs (42)
102
if (chrome.
_localResources
== null)
139
else if (chrome.
_localResources
== null)
208
if (chrome.
_localResources
== null)
312
if (chrome.
_localResources
== null)
1017
if (
_localResources
!= null)
1019
if (
_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;
1044
return
_localResources
.Fill;
1163
if (
_localResources
!= null)
1165
if (
_localResources
.OuterBorder == null)
1167
_localResources
.OuterBorder = CommonThumbOuterBorder.Clone();
1172
_localResources
.OuterBorder.Brush.Opacity = 0;
1175
return
_localResources
.OuterBorder;
1235
if (
_localResources
!= null)
1237
if (
_localResources
.InnerBorder == null)
1239
_localResources
.InnerBorder = CommonThumbInnerBorder.Clone();
1244
_localResources
.InnerBorder.Brush.Opacity = 0;
1247
return
_localResources
.InnerBorder;
1306
if (
_localResources
!= null)
1308
if (
_localResources
.Shadow == null)
1310
_localResources
.Shadow = CommonThumbShadow.Clone();
1315
_localResources
.Shadow.Brush.Opacity = 0;
1318
return
_localResources
.Shadow;
1668
if (
_localResources
!= null)
1670
if (
_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();
1695
return
_localResources
.Glyph;
1756
if (
_localResources
!= null)
1758
if (
_localResources
.GlyphShadow == null)
1763
_localResources
.GlyphShadow = new SolidColorBrush(Colors.White);
1766
return
_localResources
.GlyphShadow;