4 types derived from GradientBrush
PresentationCore (4)
System\Windows\Media\Generated\LinearGradientBrush.cs (1)
45sealed partial class LinearGradientBrush : GradientBrush
System\Windows\Media\Generated\RadialGradientBrush.cs (1)
45sealed partial class RadialGradientBrush : GradientBrush
System\Windows\Media\LinearGradientBrush.cs (1)
34public sealed partial class LinearGradientBrush : GradientBrush
System\Windows\Media\RadialGradientBrush.cs (1)
34public 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)
59public new GradientBrush Clone() 61return (GradientBrush)base.Clone(); 68public new GradientBrush CloneCurrentValue() 70return (GradientBrush)base.CloneCurrentValue(); 86GradientBrush target = ((GradientBrush) d); 93GradientBrush target = ((GradientBrush) d); 100GradientBrush target = ((GradientBrush) d); 107GradientBrush target = ((GradientBrush) d); 304Type typeofThis = typeof(GradientBrush);
PresentationFramework (11)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
347case 251: t = () => typeof(GradientBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
2712Type type = typeof(System.Windows.Media.GradientBrush); 2713DependencyProperty dp = System.Windows.Media.GradientBrush.GradientStopsProperty; 2715this.GetXamlType(typeof(System.Windows.Media.GradientBrush)), // DeclaringType 7435Type type = typeof(System.Windows.Media.GradientBrush); 7436DependencyProperty dp = System.Windows.Media.GradientBrush.MappingModeProperty; 7438this.GetXamlType(typeof(System.Windows.Media.GradientBrush)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4853typeof(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)
145stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 156stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 197stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 216stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 231stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 255stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 283GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 301stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 358GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 377stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 391GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 420GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 454GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 538GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 2012private GradientBrush InnerFill 2416public GradientBrush InnerFill;
PresentationFramework.Aero2 (16)
Microsoft\Windows\Themes\BulletChrome.cs (16)
145stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 156stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 197stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 216stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 231stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 255stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 283GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 301stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 358GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 377stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 391GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 420GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 454GradientStopCollection stops = ((GradientBrush)chrome.GlyphFill).GradientStops; 538GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 2012private GradientBrush InnerFill 2416public GradientBrush InnerFill;
ReachFramework (23)
AlphaFlattener\BrushProxy.cs (21)
615if (_brush is GradientBrush) 617GradientBrush y = _brush as GradientBrush; 706if (_brush is GradientBrush) 708GradientBrush y = _brush as GradientBrush; 1068else if (_brush is GradientBrush) 1894GradientBrush brush, 1974GradientBrush g = _brush as GradientBrush; 2396private static GradientStopCollection BlendGradientStops(GradientBrush a, bool opacityOnlyA, GradientBrush b, bool opacityOnlyB) 2692GradientBrush gb = brushProxy.Brush as GradientBrush; 2844GradientBrush gradientBrush = brush as GradientBrush; 2942GradientBrush gb = brush as GradientBrush; 3330if (brushB.Brush is GradientBrush) 3332GradientBrush gradientBrush = (GradientBrush)brushB.Brush;
Serialization\VisualSerializer.cs (2)
1739GradientBrush gb = b as GradientBrush;
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
389SWM.GradientBrush gradientBrush = brush as SWM.GradientBrush;