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