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)
842 if (!Brush.IsNullOrEmpty(Background)) 843 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)
285 /// <summary>Bindable property for <see cref="Background"/>.</summary> 286 public static readonly BindableProperty BackgroundProperty = BindableProperty.Create(nameof(Background), typeof(Brush), typeof(VisualElement), Brush.Default, 320 var background = Background; 327 _backgroundChanged ??= (sender, e) => OnPropertyChanged(nameof(Background)); 338 var background = Background; 555 /// <remarks>For background gradients and such, use <see cref="Background"/>.</remarks> 1883 if (!Brush.IsNullOrEmpty(Background)) 1884 return Background; 2230 if (Background != null) 2231 SetInheritedBindingContext(Background, BindingContext);
VisualElement\VisualElement.Mapper.cs (2)
38 handler.UpdateValue(nameof(Background)); 41 handler.UpdateValue(nameof(Background));