6 writes to _localResources
PresentationFramework.Aero2 (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
104
chrome.
_localResources
= new LocalResources();
181
chrome.
_localResources
= null;
216
chrome.
_localResources
= new LocalResources();
244
chrome.
_localResources
= null;
322
chrome.
_localResources
= new LocalResources();
377
chrome.
_localResources
= null;
41 references to _localResources
PresentationFramework.Aero2 (41)
Microsoft\Windows\Themes\ScrollChrome.cs (41)
102
if (chrome.
_localResources
== null)
139
else if (chrome.
_localResources
== null)
214
if (chrome.
_localResources
== null)
320
if (chrome.
_localResources
== null)
1047
if (
_localResources
!= null)
1049
if (
_localResources
.Fill == null)
1053
_localResources
.Fill = CommonHorizontalThumbFill.Clone();
1057
_localResources
.Fill = CommonVerticalThumbFill.Clone();
1064
_localResources
.Fill = CommonHorizontalThumbFill.Clone();
1068
_localResources
.Fill = CommonVerticalThumbFill.Clone();
1070
_localResources
.Fill.Opacity = 0;
1074
return
_localResources
.Fill;
1199
if (
_localResources
!= null)
1201
if (
_localResources
.OuterBorder == null)
1203
_localResources
.OuterBorder = CommonThumbOuterBorder.Clone();
1208
_localResources
.OuterBorder.Brush.Opacity = 0;
1211
return
_localResources
.OuterBorder;
1275
if (
_localResources
!= null)
1277
if (
_localResources
.InnerBorder == null)
1279
_localResources
.InnerBorder = CommonThumbInnerBorder.Clone();
1284
_localResources
.InnerBorder.Brush.Opacity = 0;
1287
return
_localResources
.InnerBorder;
1350
if (
_localResources
!= null)
1352
if (
_localResources
.Shadow == null)
1354
_localResources
.Shadow = CommonThumbShadow.Clone();
1359
_localResources
.Shadow.Brush.Opacity = 0;
1362
return
_localResources
.Shadow;
1732
if (
_localResources
!= null)
1734
if (
_localResources
.Glyph == null)
1739
_localResources
.Glyph = new LinearGradientBrush
1745
_localResources
.Glyph.EndPoint = new Point(1, 0.05);
1749
_localResources
.Glyph.EndPoint = new Point(0.05, 1);
1752
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x00, 0x00, 0x00), 0.5));
1753
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0x97, 0x97, 0x97), 0.7));
1754
_localResources
.Glyph.GradientStops.Add(new GradientStop(Color.FromRgb(0xCA, 0xCA, 0xCA), 1));
1758
_localResources
.Glyph = CommonButtonGlyph.Clone();
1761
return
_localResources
.Glyph;
1824
if (
_localResources
!= null)
1826
if (
_localResources
.GlyphShadow == null)
1831
_localResources
.GlyphShadow = new SolidColorBrush(Colors.White);
1834
return
_localResources
.GlyphShadow;