37 references to Black
Microsoft.Maui (5)
Animations\AnimationLerpingExtensions.cs (4)
9
color ??= Colors.
Black
;
10
endColor ??= Colors.
Black
;
60
var color = paint?.Color ?? Colors.
Black
;
61
var endColor = endPaint?.Color ?? Colors.
Black
;
Platform\SwipeViewExtensions.cs (1)
19
return (luminosity < 0.75f ? Colors.White : Colors.
Black
);
Microsoft.Maui.Controls (11)
Brush\Brush.cs (2)
139
/// <summary>Gets a <see cref="SolidColorBrush"/> of the system-defined color <see cref="Colors.
Black
"/>.</summary>
140
public static SolidColorBrush Black => black ??= new(Colors.
Black
);
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (1)
556
detailRenderer.ViewController.View.Superview.BackgroundColor = Microsoft.Maui.Graphics.Colors.
Black
.ToPlatform();
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (3)
19
Color _defaultForegroundColor = Colors.
Black
;
20
Color _defaultUnselectedColor = Colors.
Black
.MultiplyAlpha(0.7f);
186
_bottomShadow.BackgroundColor = Colors.
Black
.MultiplyAlpha(0.3f).ToPlatform();
IndicatorView\IndicatorView.cs (1)
42
public static readonly BindableProperty SelectedIndicatorColorProperty = BindableProperty.Create(nameof(SelectedIndicatorColor), typeof(Color), typeof(IndicatorView), Colors.
Black
);
Shell\BaseShellItem.cs (3)
404
Value = new AppThemeBinding() { Light = Colors.
Black
.MultiplyAlpha(0.1f), Dark = Colors.White.MultiplyAlpha(0.1f) }
493
textColor = Colors.
Black
.MultiplyAlpha(0.87f);
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 (2)
iOS\Renderers\PhoneFlyoutPageRenderer.cs (1)
390
detailRenderer.ViewController.View.Superview.BackgroundColor = Microsoft.Maui.Graphics.Colors.
Black
.ToPlatform();
iOS\Renderers\SwipeViewRenderer.cs (1)
679
return luminosity < 0.75 ? Colors.White : Colors.
Black
;
Microsoft.Maui.Graphics (6)
CanvasExtensions.cs (2)
341
canvas.StrokeColor = Colors.
Black
;
346
SetFillPattern(target, pattern, Colors.
Black
);
Color.cs (1)
769
"black" => Colors.
Black
,
PaintPattern.cs (2)
33
canvas.StrokeColor = Colors.
Black
;
34
canvas.FillColor = Colors.
Black
;
PatternExtensions.cs (1)
7
return AsPaint(target, Colors.
Black
);
Microsoft.Maui.Graphics.Skia (5)
SkiaCanvas.cs (3)
77
set => CurrentState.StrokeColor = value ?? Colors.
Black
;
82
set => CurrentState.FontColor = value ?? Colors.
Black
;
733
var actualColor = Colors.
Black
.AsSKColorMultiplyAlpha(CurrentState.Alpha);
SkiaCanvasState.cs (2)
27
private Color _strokeColor = Colors.
Black
;
29
private Color _fontColor = Colors.
Black
;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (8)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (8)
148
_sourceStrokeColor = Colors.
Black
;
170
_sourceFontColor = Colors.
Black
;
206
var finalValue = value ?? Colors.
Black
;
390
var finalValue = value ?? Colors.
Black
;
557
_fontBrush = new CanvasSolidColorBrush(_owner.Session, _sourceFontColor.AsColor(Colors.
Black
, _alpha));
559
_fontBrush.Color = _sourceFontColor.AsColor(Colors.
Black
, _alpha);
571
_strokeBrush = new CanvasSolidColorBrush(_owner.Session, _sourceStrokeColor.AsColor(Colors.
Black
, _alpha));
576
_strokeBrush.Color = _sourceStrokeColor.AsColor(Colors.
Black
, _alpha);