6 writes to _localResources
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
115
chrome.
_localResources
= new LocalResources();
186
chrome.
_localResources
= null;
221
chrome.
_localResources
= new LocalResources();
247
chrome.
_localResources
= null;
325
chrome.
_localResources
= new LocalResources();
380
chrome.
_localResources
= null;
42 references to _localResources
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\ScrollChrome.cs (42)
113
if (chrome.
_localResources
== null)
150
else if (chrome.
_localResources
== null)
219
if (chrome.
_localResources
== null)
323
if (chrome.
_localResources
== null)
1028
if (
_localResources
!= null)
1030
if (
_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;
1055
return
_localResources
.Fill;
1174
if (
_localResources
!= null)
1176
if (
_localResources
.OuterBorder == null)
1178
_localResources
.OuterBorder = CommonThumbOuterBorder.Clone();
1183
_localResources
.OuterBorder.Brush.Opacity = 0;
1186
return
_localResources
.OuterBorder;
1246
if (
_localResources
!= null)
1248
if (
_localResources
.InnerBorder == null)
1250
_localResources
.InnerBorder = CommonThumbInnerBorder.Clone();
1255
_localResources
.InnerBorder.Brush.Opacity = 0;
1258
return
_localResources
.InnerBorder;
1317
if (
_localResources
!= null)
1319
if (
_localResources
.Shadow == null)
1321
_localResources
.Shadow = CommonThumbShadow.Clone();
1326
_localResources
.Shadow.Brush.Opacity = 0;
1329
return
_localResources
.Shadow;
1679
if (
_localResources
!= null)
1681
if (
_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();
1706
return
_localResources
.Glyph;
1767
if (
_localResources
!= null)
1769
if (
_localResources
.GlyphShadow == null)
1774
_localResources
.GlyphShadow = new SolidColorBrush(Colors.White);
1777
return
_localResources
.GlyphShadow;