4 types derived from GradientBrush
PresentationCore (4)
System\Windows\Media\Generated\LinearGradientBrush.cs (1)
27
public sealed partial class LinearGradientBrush :
GradientBrush
System\Windows\Media\Generated\RadialGradientBrush.cs (1)
27
public sealed partial class RadialGradientBrush :
GradientBrush
System\Windows\Media\LinearGradientBrush.cs (1)
20
public sealed partial class LinearGradientBrush :
GradientBrush
System\Windows\Media\RadialGradientBrush.cs (1)
20
public sealed partial class RadialGradientBrush :
GradientBrush
80 references to GradientBrush
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Utilities\BrushToColorConverter.cs (1)
18
GradientBrush
gradientBrush => gradientBrush.GradientStops.FirstOrDefault()?.Color ?? Colors.Transparent,
PresentationCore (13)
System\Windows\Media\Generated\GradientBrush.cs (13)
41
public new
GradientBrush
Clone()
43
return (
GradientBrush
)base.Clone();
50
public new
GradientBrush
CloneCurrentValue()
52
return (
GradientBrush
)base.CloneCurrentValue();
68
GradientBrush
target = ((
GradientBrush
) d);
75
GradientBrush
target = ((
GradientBrush
) d);
82
GradientBrush
target = ((
GradientBrush
) d);
93
GradientBrush
target = ((
GradientBrush
) d);
290
Type typeofThis = typeof(
GradientBrush
);
PresentationFramework (11)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
344
case 251: t = () => typeof(
GradientBrush
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
2795
Type type = typeof(System.Windows.Media.
GradientBrush
);
2796
DependencyProperty dp = System.Windows.Media.
GradientBrush
.GradientStopsProperty;
2798
this.GetXamlType(typeof(System.Windows.Media.
GradientBrush
)), // DeclaringType
8016
Type type = typeof(System.Windows.Media.
GradientBrush
);
8017
DependencyProperty dp = System.Windows.Media.
GradientBrush
.MappingModeProperty;
8019
this.GetXamlType(typeof(System.Windows.Media.
GradientBrush
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5272
typeof(System.Windows.Media.
GradientBrush
),
System\Windows\Markup\KnownTypes.cs (3)
1793
return System.Windows.Media.
GradientBrush
.GradientStopsProperty;
2470
return (o as System.Windows.Media.
GradientBrush
).GradientStops;
5798
case KnownElements.GradientBrush: t = typeof(System.Windows.Media.
GradientBrush
); break;
PresentationFramework.Aero (16)
Microsoft\Windows\Themes\BulletChrome.cs (16)
140
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
151
stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
194
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
213
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
228
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
252
stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
280
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
298
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
355
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
374
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
388
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
417
GradientStopCollection stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
455
GradientStopCollection stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
545
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
2102
private
GradientBrush
InnerFill
2506
public
GradientBrush
InnerFill;
PresentationFramework.Aero2 (16)
Microsoft\Windows\Themes\BulletChrome.cs (16)
140
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
151
stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
194
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
213
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
228
stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
252
stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
280
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
298
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
355
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
374
stops = ((
GradientBrush
)chrome.HighlightStroke.Brush).GradientStops;
388
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
417
GradientStopCollection stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
455
GradientStopCollection stops = ((
GradientBrush
)chrome.GlyphFill).GradientStops;
545
GradientStopCollection stops = ((
GradientBrush
)chrome.InnerBorderPen.Brush).GradientStops;
2102
private
GradientBrush
InnerFill
2506
public
GradientBrush
InnerFill;
ReachFramework (21)
AlphaFlattener\BrushProxy.cs (19)
611
if (_brush is
GradientBrush
)
613
GradientBrush
y = _brush as
GradientBrush
;
702
if (_brush is
GradientBrush
)
704
GradientBrush
y = _brush as
GradientBrush
;
1061
else if (_brush is
GradientBrush
)
1888
GradientBrush
brush,
1968
GradientBrush
g = _brush as
GradientBrush
;
2390
private static GradientStopCollection BlendGradientStops(
GradientBrush
a, bool opacityOnlyA,
GradientBrush
b, bool opacityOnlyB)
2687
GradientBrush
gb = brushProxy.Brush as
GradientBrush
;
2839
GradientBrush
gradientBrush = brush as
GradientBrush
;
2937
GradientBrush
gb = brush as
GradientBrush
;
3328
if (brushB.Brush is
GradientBrush
gradientBrush)
Serialization\VisualSerializer.cs (2)
1731
GradientBrush
gb = b as
GradientBrush
;
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
387
SWM.
GradientBrush
gradientBrush = brush as SWM.
GradientBrush
;