10 writes to GradientStops
Microsoft.Maui.Controls (10)
Brush\Brush.cs (2)
36 return new LinearGradientBrush { GradientStops = gradientStops, StartPoint = startPoint, EndPoint = endPoint }; 44 return new RadialGradientBrush { GradientStops = gradientStops, Center = center, Radius = radius };
Brush\BrushTypeConverter.cs (2)
236 GradientStops = new GradientStopCollection() 245 GradientStops = new GradientStopCollection()
GradientBrush.cs (1)
15 GradientStops = new GradientStopCollection();
LinearGradientBrush.cs (2)
18 GradientStops = gradientStops; 24 GradientStops = gradientStops;
RadialGradientBrush.cs (3)
18 GradientStops = gradientStops; 24 GradientStops = gradientStops; 31 GradientStops = gradientStops;
8 references to GradientStops
Microsoft.Maui.Controls (8)
Brush\Brush.cs (1)
61 var gradientStopCollection = gradientBrush.GradientStops;
Brush\BrushTypeConverter.cs (1)
262 _gradient.GradientStops.Add(gradientStop);
GradientBrush.cs (6)
9 [ContentProperty(nameof(GradientStops))] 20 /// <summary>Bindable property for <see cref="GradientStops"/>.</summary> 22 BindableProperty.Create(nameof(GradientStops), typeof(GradientStopCollection), typeof(GradientBrush), null, 33 GradientStops is null || GradientStops.Count == 0; 44 foreach (var gradientStop in GradientStops)