1 write to Background
Microsoft.Maui.Controls (1)
SwipeView\SwipeView.Mapper.cs (1)
25
swipeView.Content.
Background
= swipeView.Background;
19 references to Background
Microsoft.Maui.Controls (19)
Page\Page.cs (2)
840
if (!Brush.IsNullOrEmpty(
Background
))
841
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)
376
static (TitleBar tb) => tb.
Background
,
VisualElement\VisualElement.cs (10)
282
/// <summary>Bindable property for <see cref="
Background
"/>.</summary>
283
public static readonly BindableProperty BackgroundProperty = BindableProperty.Create(nameof(
Background
), typeof(Brush), typeof(VisualElement), Brush.Default,
317
var background =
Background
;
324
_backgroundChanged ??= (sender, e) => OnPropertyChanged(nameof(
Background
));
335
var background =
Background
;
552
/// <remarks>For background gradients and such, use <see cref="
Background
"/>.</remarks>
1822
if (!Brush.IsNullOrEmpty(
Background
))
1823
return
Background
;
2168
if (
Background
!= null)
2169
SetInheritedBindingContext(
Background
, BindingContext);
VisualElement\VisualElement.Mapper.cs (2)
38
handler.UpdateValue(nameof(
Background
));
41
handler.UpdateValue(nameof(
Background
));