2 writes to Color
Microsoft.Maui.Controls (2)
Brush\BrushTypeConverter.cs (1)
258 Color = color,
GradientStop.cs (1)
37 Color = color;
11 references to Color
Microsoft.Maui.Controls (9)
Brush\Brush.cs (1)
68 gradientStops[i] = new GraphicsGradientStop(gs.Offset, gs.Color);
GradientStop.cs (5)
9 /// <summary>Bindable property for <see cref="Color"/>.</summary> 11 nameof(Color), typeof(Color), typeof(GradientStop), null); 47 return Color == dest.Color && global::System.Math.Abs(Offset - dest.Offset) < 0.00001; 53 return -1234567890 + (Color?.GetHashCode() ?? 0);
Platform\iOS\Extensions\BrushExtensions.cs (3)
248 if (gradientStop.Color == Colors.Transparent) 250 var color = gradientStops[index == 0 ? index + 1 : index - 1].Color; 255 colors[index] = gradientStop.Color.ToCGColor();
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Extensions\BrushExtensions.cs (2)
95 var gradientColors = orderedGradientStops.Select(x => x.Color.ToNativeEFL().ToSKColor()).ToArray(); 105 var gradientColors = orderedGradientStops.Select(x => x.Color.ToNativeEFL().ToSKColor()).ToArray();