36 references to White
Microsoft.Maui (1)
Platform\SwipeViewExtensions.cs (1)
19
return (luminosity < 0.75f ? Colors.
White
: Colors.Black);
Microsoft.Maui.Controls (5)
Brush\Brush.cs (2)
543
/// <summary>Gets a <see cref="SolidColorBrush"/> of the system-defined color <see cref="Colors.
White
"/>.</summary>
544
public static SolidColorBrush White => white ??= new(Colors.
White
);
Shell\BaseShellItem.cs (2)
404
Value = new AppThemeBinding() { Light = Colors.Black.MultiplyAlpha(0.1f), Dark = Colors.
White
.MultiplyAlpha(0.1f) }
497
textColor = new AppThemeBinding { Light = Colors.Black.MultiplyAlpha(0.87f), Dark = Colors.
White
};
Shell\Shell.cs (1)
1172
new AppThemeBinding { Light = Colors.
White
, Dark = Colors.Black, Mode = BindingMode.OneWay });
Microsoft.Maui.Controls.Compatibility (1)
iOS\Renderers\SwipeViewRenderer.cs (1)
679
return luminosity < 0.75 ? Colors.
White
: Colors.Black;
Microsoft.Maui.Graphics (12)
CanvasExtensions.cs (1)
363
target.FillColor = Colors.
White
;
Color.cs (1)
906
"white" => Colors.
White
,
GradientPaint.cs (9)
9
new PaintGradientStop(0, Colors.
White
),
10
new PaintGradientStop(1, Colors.
White
)
36
_gradientStops = new[] { new PaintGradientStop(0, Colors.
White
), new PaintGradientStop(1, Colors.
White
) };
46
_gradientStops[startColorIndex].Color = value ?? Colors.
White
;
56
_gradientStops[endColorIndex].Color = value ?? Colors.
White
;
239
return Colors.
White
;
247
startColor ??= Colors.
White
;
248
endColor ??= Colors.
White
;
ImageExtensions.cs (1)
73
canvas.FillColor = Colors.
White
;
Microsoft.Maui.Graphics.Skia (9)
SkiaCanvas.cs (8)
106
CurrentState.FillColor = value ?? Colors.
White
;
227
paint = Colors.
White
.AsPaint();
261
CurrentState.FillColor = Colors.
White
;
298
CurrentState.FillColor = Colors.
White
;
321
CurrentState.FillColor = Colors.
White
;
354
CurrentState.FillColor = Colors.
White
;
372
FillColor = Colors.
White
;
377
FillColor = Colors.
White
;
SkiaCanvasState.cs (1)
28
private Color _fillColor = Colors.
White
;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (8)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (5)
381
CurrentState.FillColor = Colors.
White
;
404
CurrentState.FillColor = Colors.
White
;
414
CurrentState.FillColor = Colors.
White
;
432
CurrentState.FillColor = Colors.
White
;
461
CurrentState.FillColor = Colors.
White
;
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (3)
159
_sourceFillpaint = Colors.
White
.AsPaint();
347
Color = linearGradientPaint.GradientStops[i].Color.AsColor(Colors.
White
, _alpha)
365
Color = radialGradientPaint.GradientStops[i].Color.AsColor(Colors.
White
, _alpha)