4 types derived from GradientBrush
PresentationCore (4)
System\Windows\Media\Generated\LinearGradientBrush.cs (1)
17sealed partial class LinearGradientBrush : GradientBrush
System\Windows\Media\Generated\RadialGradientBrush.cs (1)
17sealed partial class RadialGradientBrush : GradientBrush
System\Windows\Media\LinearGradientBrush.cs (1)
21public sealed partial class LinearGradientBrush : GradientBrush
System\Windows\Media\RadialGradientBrush.cs (1)
21public sealed partial class RadialGradientBrush : GradientBrush
82 references to GradientBrush
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Utilities\BrushToColorConverter.cs (1)
18GradientBrush gradientBrush => gradientBrush.GradientStops.FirstOrDefault()?.Color ?? Colors.Transparent,
PresentationCore (13)
System\Windows\Media\Generated\GradientBrush.cs (13)
31public new GradientBrush Clone() 33return (GradientBrush)base.Clone(); 40public new GradientBrush CloneCurrentValue() 42return (GradientBrush)base.CloneCurrentValue(); 58GradientBrush target = ((GradientBrush) d); 65GradientBrush target = ((GradientBrush) d); 72GradientBrush target = ((GradientBrush) d); 79GradientBrush target = ((GradientBrush) d); 276Type typeofThis = typeof(GradientBrush);
PresentationFramework (11)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
345case 251: t = () => typeof(GradientBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
2710Type type = typeof(System.Windows.Media.GradientBrush); 2711DependencyProperty dp = System.Windows.Media.GradientBrush.GradientStopsProperty; 2713this.GetXamlType(typeof(System.Windows.Media.GradientBrush)), // DeclaringType 7433Type type = typeof(System.Windows.Media.GradientBrush); 7434DependencyProperty dp = System.Windows.Media.GradientBrush.MappingModeProperty; 7436this.GetXamlType(typeof(System.Windows.Media.GradientBrush)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4851typeof(System.Windows.Media.GradientBrush),
System\Windows\Markup\KnownTypes.cs (3)
1800return System.Windows.Media.GradientBrush.GradientStopsProperty; 2477return (o as System.Windows.Media.GradientBrush).GradientStops; 5805case KnownElements.GradientBrush: t = typeof(System.Windows.Media.GradientBrush); break;
PresentationFramework.Aero (16)
Microsoft\Windows\Themes\BulletChrome.cs (16)
139stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 150stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 191stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 210stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 225stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 249stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 277GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 295stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 352GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 371stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 385GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 414GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 448GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 532GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 2006private GradientBrush InnerFill 2410public GradientBrush InnerFill;
PresentationFramework.Aero2 (16)
Microsoft\Windows\Themes\BulletChrome.cs (16)
139stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 150stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 191stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 210stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 225stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 249stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 277GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 295stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 352GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 371stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 385GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 414GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 448GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 532GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 2006private GradientBrush InnerFill 2410public GradientBrush InnerFill;
ReachFramework (23)
AlphaFlattener\BrushProxy.cs (21)
611if (_brush is GradientBrush) 613GradientBrush y = _brush as GradientBrush; 702if (_brush is GradientBrush) 704GradientBrush y = _brush as GradientBrush; 1064else if (_brush is GradientBrush) 1890GradientBrush brush, 1970GradientBrush g = _brush as GradientBrush; 2392private static GradientStopCollection BlendGradientStops(GradientBrush a, bool opacityOnlyA, GradientBrush b, bool opacityOnlyB) 2688GradientBrush gb = brushProxy.Brush as GradientBrush; 2840GradientBrush gradientBrush = brush as GradientBrush; 2938GradientBrush gb = brush as GradientBrush; 3326if (brushB.Brush is GradientBrush) 3328GradientBrush gradientBrush = (GradientBrush)brushB.Brush;
Serialization\VisualSerializer.cs (2)
1731GradientBrush gb = b as GradientBrush;
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
388SWM.GradientBrush gradientBrush = brush as SWM.GradientBrush;