6 writes to _localResources
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
109
chrome.
_localResources
= new LocalResources();
180
chrome.
_localResources
= null;
215
chrome.
_localResources
= new LocalResources();
241
chrome.
_localResources
= null;
319
chrome.
_localResources
= new LocalResources();
374
chrome.
_localResources
= null;
42 references to _localResources
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\ScrollChrome.cs (42)
107
if (chrome.
_localResources
== null)
144
else if (chrome.
_localResources
== null)
213
if (chrome.
_localResources
== null)
317
if (chrome.
_localResources
== null)
1022
if (
_localResources
!= null)
1024
if (
_localResources
.Fill == null)
1028
_localResources
.Fill = CommonHorizontalThumbFill.Clone();
1032
_localResources
.Fill = CommonVerticalThumbFill.Clone();
1039
_localResources
.Fill = CommonHorizontalThumbFill.Clone();
1043
_localResources
.Fill = CommonVerticalThumbFill.Clone();
1045
_localResources
.Fill.Opacity = 0;
1049
return
_localResources
.Fill;
1168
if (
_localResources
!= null)
1170
if (
_localResources
.OuterBorder == null)
1172
_localResources
.OuterBorder = CommonThumbOuterBorder.Clone();
1177
_localResources
.OuterBorder.Brush.Opacity = 0;
1180
return
_localResources
.OuterBorder;
1240
if (
_localResources
!= null)
1242
if (
_localResources
.InnerBorder == null)
1244
_localResources
.InnerBorder = CommonThumbInnerBorder.Clone();
1249
_localResources
.InnerBorder.Brush.Opacity = 0;
1252
return
_localResources
.InnerBorder;
1311
if (
_localResources
!= null)
1313
if (
_localResources
.Shadow == null)
1315
_localResources
.Shadow = CommonThumbShadow.Clone();
1320
_localResources
.Shadow.Brush.Opacity = 0;
1323
return
_localResources
.Shadow;
1673
if (
_localResources
!= null)
1675
if (
_localResources
.Glyph == null)
1680
_localResources
.Glyph = new LinearGradientBrush();
1681
_localResources
.Glyph.StartPoint = new Point(0, 0);
1684
_localResources
.Glyph.EndPoint = new Point(1, 0.05);
1688
_localResources
.Glyph.EndPoint = new Point(0.05, 1);
1691
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5));
1692
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7));
1693
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1));
1697
_localResources
.Glyph = CommonButtonGlyph.Clone();
1700
return
_localResources
.Glyph;
1761
if (
_localResources
!= null)
1763
if (
_localResources
.GlyphShadow == null)
1768
_localResources
.GlyphShadow = new SolidColorBrush(Colors.White);
1771
return
_localResources
.GlyphShadow;