36 references to ColorExtensions
Microsoft.Maui (9)
Handlers\Button\ButtonHandler.iOS.cs (1)
66
config.BaseBackgroundColor =
ColorExtensions
.BackgroundColor;
Platform\iOS\ContainerViewController.cs (1)
80
View.BackgroundColor =
ColorExtensions
.BackgroundColor;
Platform\iOS\LabelExtensions.cs (1)
14
platformLabel.TextColor = textColor.ToPlatform(defaultColor ??
ColorExtensions
.LabelColor);
Platform\iOS\MauiTextView.cs (1)
129
TextColor =
ColorExtensions
.PlaceholderColor,
Platform\iOS\SearchBarExtensions.cs (1)
67
var foregroundColor = placeholderColor ??
ColorExtensions
.PlaceholderColor.ToColor();
Platform\iOS\TextFieldExtensions.cs (1)
21
textField.TextColor = textColor.ToPlatform(
ColorExtensions
.LabelColor);
Platform\iOS\TextViewExtensions.cs (2)
22
textView.TextColor =
ColorExtensions
.LabelColor;
140
textView.PlaceholderTextColor = editor.PlaceholderColor?.ToPlatform() ??
ColorExtensions
.PlaceholderColor;
Platform\iOS\ViewExtensions.cs (1)
92
platformView.BackgroundColor =
ColorExtensions
.BackgroundColor;
Microsoft.Maui.Controls.Compatibility (27)
iOS\Cells\CellRenderer.cs (1)
95
uiBgColor =
ColorExtensions
.GroupedBackground;
iOS\Cells\EntryCellRenderer.cs (1)
15
static readonly Color DefaultTextColor = Maui.Platform.
ColorExtensions
.LabelColor.ToColor();
iOS\Cells\TextCellRenderer.cs (2)
13
readonly Color DefaultDetailColor = Maui.Platform.
ColorExtensions
.SecondaryLabelColor.ToColor();
14
readonly Color DefaultTextColor = Maui.Platform.
ColorExtensions
.LabelColor.ToColor();
iOS\CollectionView\DefaultCell.cs (1)
21
TextColor = Maui.Platform.
ColorExtensions
.LabelColor,
iOS\CollectionView\ItemsViewCell.cs (1)
19
BackgroundColor = Maui.Platform.
ColorExtensions
.Gray
iOS\CollectionView\TemplatedCell.cs (1)
134
if (SelectedBackgroundView.BackgroundColor == Maui.Platform.
ColorExtensions
.Gray && IsUsingVSMForSelectionColor(view))
iOS\ContextActionCell.cs (2)
38
context.SetFillColor(Maui.Platform.
ColorExtensions
.Red.CGColor);
42
context.SetFillColor(Maui.Platform.
ColorExtensions
.LightGray.CGColor);
iOS\Platform.cs (1)
382
_renderer.View.BackgroundColor =
ColorExtensions
.BackgroundColor;
iOS\PlatformRenderer.cs (1)
98
View.BackgroundColor =
ColorExtensions
.BackgroundColor;
iOS\Renderers\CarouselPageRenderer.cs (1)
368
View.BackgroundColor =
ColorExtensions
.BackgroundColor;
iOS\Renderers\EditorRenderer.cs (2)
18
readonly UIColor _defaultPlaceholderColor =
ColorExtensions
.PlaceholderColor;
367
=> TextView.TextColor = Element.TextColor?.ToPlatform() ??
ColorExtensions
.LabelColor;
iOS\Renderers\EntryRenderer.cs (1)
42
readonly Color _defaultPlaceholderColor = Maui.Platform.
ColorExtensions
.SeventyPercentGrey.ToColor();
iOS\Renderers\FrameRenderer.cs (1)
82
_actualView.Layer.BackgroundColor =
ColorExtensions
.BackgroundColor.CGColor;
iOS\Renderers\ImageRenderer.cs (1)
236
readonly Color _defaultColor = Maui.Platform.
ColorExtensions
.LabelColor.ToColor();
iOS\Renderers\LabelRenderer.cs (1)
597
Control.TextColor = textColor.ToPlatform(Maui.Platform.
ColorExtensions
.LabelColor);
iOS\Renderers\ListViewRenderer.cs (1)
748
Control.SeparatorColor = color.ToPlatform(
ColorExtensions
.SeparatorColor);
iOS\Renderers\NavigationRenderer.cs (2)
666
var color = Element.BackgroundColor ?? Maui.Platform.
ColorExtensions
.BackgroundColor.ToColor();
682
navigationBarAppearance.BackgroundColor = Maui.Platform.
ColorExtensions
.BackgroundColor;
iOS\Renderers\PageRenderer.cs (1)
485
NativeView.BackgroundColor = Element.BackgroundColor?.ToPlatform() ?? Maui.Platform.
ColorExtensions
.BackgroundColor;
iOS\Renderers\PickerRenderer.cs (1)
218
readonly Color _defaultPlaceholderColor =
ColorExtensions
.PlaceholderColor.ToColor();
iOS\Renderers\SearchBarRenderer.cs (2)
337
? targetColor : Maui.Platform.
ColorExtensions
.PlaceholderColor.ToColor();
345
_textField.AttributedPlaceholder = formatted.ToNSAttributedString(Element.RequireFontManager(), defaultColor: targetColor ??
ColorExtensions
.PlaceholderColor.ToColor());
iOS\Renderers\SwipeViewRenderer.cs (1)
171
BackgroundColor =
ColorExtensions
.BackgroundColor;
iOS\Renderers\TabletFlyoutPageRenderer.cs (1)
380
_flyoutController.View.BackgroundColor = Maui.Platform.
ColorExtensions
.BackgroundColor;