1 write to Background
Microsoft.Maui.Controls (1)
SwipeView\SwipeView.Mapper.cs (1)
25
swipeView.Content.
Background
= swipeView.Background;
27 references to Background
Microsoft.Maui.Controls (25)
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (2)
515
Brush background = Element.
Background
;
518
View.UpdateBackground(Element.
Background
);
Compatibility\Handlers\iOS\FrameRenderer.cs (2)
125
if (!Brush.IsNullOrEmpty(element.
Background
))
127
var backgroundLayer = this.GetBackgroundLayer(element.
Background
);
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
118
var backgroundLayer = _backgroundUIView.GetBackgroundLayer(Element.
Background
);
Compatibility\Handlers\TableView\iOS\TableViewRenderer.cs (1)
142
Control.BackgroundView.UpdateBackground(Element.
Background
);
Page\Page.cs (2)
837
if (!Brush.IsNullOrEmpty(
Background
))
838
return
Background
;
SwipeView\SwipeView.Mapper.cs (4)
11
SwipeViewHandler.Mapper.AppendToMapping<SwipeView, ISwipeViewHandler>(nameof(
Background
), MapBackground);
18
var contentBackgroundIsNull = Brush.IsNullOrEmpty(swipeView.Content.
Background
);
23
if (!Brush.IsNullOrEmpty(swipeView.
Background
))
25
swipeView.Content.Background = swipeView.
Background
;
TitleBar\TitleBar.cs (1)
362
static (TitleBar tb) => tb.
Background
,
VisualElement\VisualElement.cs (10)
278
/// <summary>Bindable property for <see cref="
Background
"/>.</summary>
279
public static readonly BindableProperty BackgroundProperty = BindableProperty.Create(nameof(
Background
), typeof(Brush), typeof(VisualElement), Brush.Default,
313
var background =
Background
;
320
_backgroundChanged ??= (sender, e) => OnPropertyChanged(nameof(
Background
));
331
var background =
Background
;
548
/// <remarks>For background gradients and such, use <see cref="
Background
"/>.</remarks>
1818
if (!Brush.IsNullOrEmpty(
Background
))
1819
return
Background
;
2178
if (
Background
!= null)
2179
SetInheritedBindingContext(
Background
, BindingContext);
VisualElement\VisualElement.Mapper.cs (2)
38
handler.UpdateValue(nameof(
Background
));
41
handler.UpdateValue(nameof(
Background
));
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Extensions\BrushExtensions.cs (1)
47
var brush = element.
Background
;
Tizen\Renderers\VisualElementRenderer.cs (1)
578
if (initialize && Element.
Background
.Equals(Brush.Default))