22 references to BackgroundColorProperty
Microsoft.Maui.Controls (21)
BoxView\BoxView.cs (1)
58
if (propertyName ==
BackgroundColorProperty
.PropertyName ||
Button\Button.cs (1)
444
bool IBorderElement.IsBackgroundColorSet() => IsSet(
BackgroundColorProperty
);
CheckBox\CheckBox.cs (1)
71
bool IBorderElement.IsBackgroundColorSet() => IsSet(
BackgroundColorProperty
);
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (1)
363
else if (e.PropertyName == VisualElement.
BackgroundColorProperty
.PropertyName || e.PropertyName == VisualElement.BackgroundProperty.PropertyName)
Compatibility\Handlers\iOS\FrameRenderer.cs (1)
16
[VisualElement.
BackgroundColorProperty
.PropertyName] = (h, _) => h.SetupLayer(),
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (1)
486
else if (e.PropertyName == VisualElement.
BackgroundColorProperty
.PropertyName)
Compatibility\Handlers\TableView\iOS\TableViewRenderer.cs (1)
103
else if (e.PropertyName == VisualElement.
BackgroundColorProperty
.PropertyName || e.PropertyName == VisualElement.BackgroundProperty.PropertyName)
Frame\Frame.cs (1)
79
bool IBorderElement.IsBackgroundColorSet() => IsSet(
BackgroundColorProperty
);
Handlers\Items\iOS\TemplatedCell.cs (1)
258
if (setter.Property.PropertyName == VisualElement.
BackgroundColorProperty
.PropertyName)
Handlers\Items2\iOS\TemplatedCell2.cs (1)
167
if (setter.Property.PropertyName == VisualElement.
BackgroundColorProperty
.PropertyName)
ImageButton\ImageButton.cs (1)
239
bool IBorderElement.IsBackgroundColorSet() => IsSet(
BackgroundColorProperty
);
Platform\iOS\ControlsModalWrapper.cs (1)
183
if (e.PropertyName == Page.
BackgroundColorProperty
.PropertyName)
Properties\AssemblyInfo.cs (1)
84
[assembly: StyleProperty("background-color", typeof(VisualElement), nameof(VisualElement.
BackgroundColorProperty
))]
RadioButton\RadioButton.cs (3)
280
bool IBorderElement.IsBackgroundColorSet() => IsSet(
BackgroundColorProperty
);
448
border.SetBinding(
BackgroundColorProperty
, static (RadioButton rb) => rb.BackgroundColor, source: RelativeBindingSource.TemplatedParent);
562
contentPresenter.SetBinding(
BackgroundColorProperty
, static (RadioButton radio) => radio.BackgroundColor, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent);
Shell\BaseShellItem.cs (2)
403
Property = VisualElement.
BackgroundColorProperty
,
410
Property = VisualElement.
BackgroundColorProperty
,
TitleBar\TitleBar.cs (1)
356
BackgroundColorProperty
,
VisualElement\VisualElement.cs (2)
551
get { return (Color)GetValue(
BackgroundColorProperty
); }
552
set { SetValue(
BackgroundColorProperty
, value); }
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\VisualElementRenderer.cs (1)
45
RegisterPropertyHandler(VisualElement.
BackgroundColorProperty
, UpdateBackgroundColor);