20 references to BarElement
Microsoft.Maui.Controls (20)
NavigationPage\NavigationPage.cs (9)
28 public static readonly BindableProperty BarBackgroundColorProperty = BarElement.BarBackgroundColorProperty; 31 public static readonly BindableProperty BarBackgroundProperty = BarElement.BarBackgroundProperty; 34 public static readonly BindableProperty BarTextColorProperty = BarElement.BarTextColorProperty; 95 get => (Color)GetValue(BarElement.BarBackgroundColorProperty); 96 set => SetValue(BarElement.BarBackgroundColorProperty, value); 102 get => (Brush)GetValue(BarElement.BarBackgroundProperty); 103 set => SetValue(BarElement.BarBackgroundProperty, value); 109 get => (Color)GetValue(BarElement.BarTextColorProperty); 110 set => SetValue(BarElement.BarTextColorProperty, value);
Properties\AssemblyInfo.cs (2)
148[assembly: StyleProperty("-maui-bar-background-color", typeof(IBarElement), nameof(BarElement.BarBackgroundColorProperty))] 149[assembly: StyleProperty("-maui-bar-text-color", typeof(IBarElement), nameof(BarElement.BarTextColorProperty))]
TabbedPage\TabbedPage.cs (9)
12 public static readonly BindableProperty BarBackgroundColorProperty = BarElement.BarBackgroundColorProperty; 15 public static readonly BindableProperty BarBackgroundProperty = BarElement.BarBackgroundProperty; 18 public static readonly BindableProperty BarTextColorProperty = BarElement.BarTextColorProperty; 31 get => (Color)GetValue(BarElement.BarBackgroundColorProperty); 32 set => SetValue(BarElement.BarBackgroundColorProperty, value); 38 get => (Brush)GetValue(BarElement.BarBackgroundProperty); 39 set => SetValue(BarElement.BarBackgroundProperty, value); 45 get => (Color)GetValue(BarElement.BarTextColorProperty); 46 set => SetValue(BarElement.BarTextColorProperty, value);