121 references to TabbedPage
Microsoft.Maui.Controls (121)
Compatibility\Handlers\TabbedPage\iOS\TabbedRenderer.cs (34)
33 public static IPropertyMapper<TabbedPage, TabbedRenderer> Mapper = new PropertyMapper<TabbedPage, TabbedRenderer>(TabbedViewHandler.ViewMapper); 34 public static CommandMapper<TabbedPage, TabbedRenderer> CommandMapper = new CommandMapper<TabbedPage, TabbedRenderer>(TabbedViewHandler.ViewCommandMapper); 36 ViewHandlerDelegator<TabbedPage> _viewHandlerWrapper; 43 _viewHandlerWrapper = new ViewHandlerDelegator<TabbedPage>(Mapper, CommandMapper, this); 56 protected TabbedPage Tabbed 58 get { return (TabbedPage)Element; } 79 if (element is TabbedPage tabbed) 141 if (Tabbed is TabbedPage tabbed) 210 if (e.PropertyName == nameof(TabbedPage.CurrentPage)) 224 else if (e.PropertyName == TabbedPage.BarBackgroundColorProperty.PropertyName) 226 else if (e.PropertyName == TabbedPage.BarBackgroundProperty.PropertyName) 228 else if (e.PropertyName == TabbedPage.BarTextColorProperty.PropertyName) 234 else if (e.PropertyName == TabbedPage.SelectedTabColorProperty.PropertyName || e.PropertyName == TabbedPage.UnselectedTabColorProperty.PropertyName) 263 if (Tabbed is not TabbedPage tabbed) 291 if (Tabbed is not TabbedPage tabbed) 300 if (Tabbed is not TabbedPage tabbed) 334 if (Tabbed is not TabbedPage tabbed || TabBar == null) 361 if (Tabbed is not TabbedPage tabbed || TabBar == null) 371 if (Tabbed is not TabbedPage tabbed || TabBar == null || TabBar.Items == null) 434 if (Tabbed is not TabbedPage tabbed) 442 TabbedPage.SetIndex(page, i); 449 if (Tabbed is TabbedPage tabbed) 475 if (Tabbed is not TabbedPage tabbed || TabBar == null || TabBar.Items == null) 478 if (tabbed.IsSet(TabbedPage.SelectedTabColorProperty) && tabbed.SelectedTabColor != null) 491 if (tabbed.IsSet(TabbedPage.UnselectedTabColorProperty) && tabbed.UnselectedTabColor != null) 525 if (Tabbed is not TabbedPage tabbed) 531 tabbed.IsSet(TabbedPage.SelectedTabColorProperty) ? tabbed.SelectedTabColor : null, 532 tabbed.IsSet(TabbedPage.UnselectedTabColorProperty) ? tabbed.UnselectedTabColor : null, 533 tabbed.IsSet(TabbedPage.BarBackgroundColorProperty) ? tabbed.BarBackgroundColor : null, 534 tabbed.IsSet(TabbedPage.BarTextColorProperty) ? tabbed.BarTextColor : null, 535 tabbed.IsSet(TabbedPage.BarTextColorProperty) ? tabbed.BarTextColor : null);
Hosting\AppHostBuilderExtensions.cs (2)
141 handlersCollection.AddHandler(typeof(TabbedPage), typeof(Handlers.Compatibility.TabbedRenderer)); 254 TabbedPage.RemapForControls();
PlatformConfiguration\AndroidSpecific\TabbedPage.cs (22)
5 using FormsElement = Maui.Controls.TabbedPage; 28 public static bool IsSwipePagingEnabled(this IPlatformElementConfiguration<Android, FormsElement> config) 34 public static IPlatformElementConfiguration<Android, FormsElement> SetIsSwipePagingEnabled(this IPlatformElementConfiguration<Android, FormsElement> config, bool value) 41 public static IPlatformElementConfiguration<Android, FormsElement> EnableSwipePaging(this IPlatformElementConfiguration<Android, FormsElement> config) 48 public static IPlatformElementConfiguration<Android, FormsElement> DisableSwipePaging(this IPlatformElementConfiguration<Android, FormsElement> config) 72 public static bool IsSmoothScrollEnabled(this IPlatformElementConfiguration<Android, FormsElement> config) 78 public static IPlatformElementConfiguration<Android, FormsElement> SetIsSmoothScrollEnabled(this IPlatformElementConfiguration<Android, FormsElement> config, bool value) 85 public static IPlatformElementConfiguration<Android, FormsElement> EnableSmoothScroll(this IPlatformElementConfiguration<Android, FormsElement> config) 92 public static IPlatformElementConfiguration<Android, FormsElement> DisableSmoothScroll(this IPlatformElementConfiguration<Android, FormsElement> config) 116 public static int OffscreenPageLimit(this IPlatformElementConfiguration<Android, FormsElement> config) 122 public static IPlatformElementConfiguration<Android, FormsElement> SetOffscreenPageLimit(this IPlatformElementConfiguration<Android, FormsElement> config, int value) 151 public static ToolbarPlacement GetToolbarPlacement(this IPlatformElementConfiguration<Android, FormsElement> config) 157 public static IPlatformElementConfiguration<Android, FormsElement> SetToolbarPlacement(this IPlatformElementConfiguration<Android, FormsElement> config, ToolbarPlacement value) 175 public static int GetMaxItemCount(this IPlatformElementConfiguration<Android, FormsElement> config)
PlatformConfiguration\GTKSpecific\TabbedPage.cs (4)
4 using FormsElement = Maui.Controls.TabbedPage; 28 this IPlatformElementConfiguration<GTK, FormsElement> config) 34 public static IPlatformElementConfiguration<GTK, FormsElement> SetTabPosition( 35 this IPlatformElementConfiguration<GTK, FormsElement> config, TabPosition value)
PlatformConfiguration\iOSSpecific\TabbedPage.cs (4)
4 using FormsElement = Maui.Controls.TabbedPage; 24 this IPlatformElementConfiguration<iOS, FormsElement> config) 28 public static IPlatformElementConfiguration<iOS, FormsElement> SetTranslucencyMode( 29 this IPlatformElementConfiguration<iOS, FormsElement> config, TranslucencyMode value)
PlatformConfiguration\macOSSpecific\TabbedPage.cs (10)
4 using FormsElement = Maui.Controls.TabbedPage; 26 public static TabsStyle GetTabsStyle(this IPlatformElementConfiguration<macOS, FormsElement> config) 32 public static IPlatformElementConfiguration<macOS, FormsElement> SetShowTabs(this IPlatformElementConfiguration<macOS, FormsElement> config, TabsStyle value) 39 public static IPlatformElementConfiguration<macOS, FormsElement> ShowTabsOnNavigation(this IPlatformElementConfiguration<macOS, FormsElement> config) 46 public static IPlatformElementConfiguration<macOS, FormsElement> ShowTabs(this IPlatformElementConfiguration<macOS, FormsElement> config) 53 public static IPlatformElementConfiguration<macOS, FormsElement> HideTabs(this IPlatformElementConfiguration<macOS, FormsElement> config)
PlatformConfiguration\WindowsSpecific\TabbedPage.cs (10)
9 using FormsElement = Maui.Controls.TabbedPage; 35 public static bool GetHeaderIconsEnabled(this IPlatformElementConfiguration<Windows, FormsElement> config) 41 public static IPlatformElementConfiguration<Windows, FormsElement> SetHeaderIconsEnabled( 42 this IPlatformElementConfiguration<Windows, FormsElement> config, bool value) 49 public static bool IsHeaderIconsEnabled(this IPlatformElementConfiguration<Windows, FormsElement> config) 55 public static void EnableHeaderIcons(this IPlatformElementConfiguration<Windows, FormsElement> config) 61 public static void DisableHeaderIcons(this IPlatformElementConfiguration<Windows, FormsElement> config) 79 public static Size GetHeaderIconsSize(this IPlatformElementConfiguration<Windows, FormsElement> config) 85 public static IPlatformElementConfiguration<Windows, FormsElement> SetHeaderIconsSize( 86 this IPlatformElementConfiguration<Windows, FormsElement> config, Size value)
Shell\ShellContent.cs (1)
98 if (result is TabbedPage)
TabbedPage\TabbedPage.cs (9)
9 public partial class TabbedPage : MultiPage<Page>, IBarElement, IElementConfiguration<TabbedPage>, ITabbedView 21 public static readonly BindableProperty UnselectedTabColorProperty = BindableProperty.Create(nameof(UnselectedTabColor), typeof(Color), typeof(TabbedPage), default(Color)); 24 public static readonly BindableProperty SelectedTabColorProperty = BindableProperty.Create(nameof(SelectedTabColor), typeof(Color), typeof(TabbedPage), default(Color)); 26 readonly Lazy<PlatformConfigurationRegistry<TabbedPage>> _platformConfigurationRegistry; 74 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<TabbedPage>>(() => new PlatformConfigurationRegistry<TabbedPage>(this)); 78 public new IPlatformElementConfiguration<T, TabbedPage> On<T>() where T : IConfigPlatform 110 Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.PropertyName); 128 Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.PropertyName);
TabbedPage\TabbedPage.iOS.cs (11)
12 internal static void MapBarBackground(ITabbedViewHandler handler, TabbedPage view) 15 internal static void MapBarBackgroundColor(ITabbedViewHandler handler, TabbedPage view) 18 internal static void MapBarTextColor(ITabbedViewHandler handler, TabbedPage view) 21 internal static void MapUnselectedTabColor(ITabbedViewHandler handler, TabbedPage view) 24 internal static void MapSelectedTabColor(ITabbedViewHandler handler, TabbedPage view) 28 internal static void MapItemsSource(ITabbedViewHandler handler, TabbedPage view) 31 internal static void MapItemTemplate(ITabbedViewHandler handler, TabbedPage view) 34 internal static void MapSelectedItem(ITabbedViewHandler handler, TabbedPage view) 37 internal static void MapCurrentPage(ITabbedViewHandler handler, TabbedPage view) 42 internal static void MapPrefersHomeIndicatorAutoHiddenProperty(ITabbedViewHandler handler, TabbedPage view) 47 internal static void MapPrefersPrefersStatusBarHiddenProperty(ITabbedViewHandler handler, TabbedPage view)
TabbedPage\TabbedPage.Mapper.cs (14)
13 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(BarBackground), MapBarBackground); 14 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(BarBackgroundColor), MapBarBackgroundColor); 15 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(BarTextColor), MapBarTextColor); 16 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(UnselectedTabColor), MapUnselectedTabColor); 17 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(SelectedTabColor), MapSelectedTabColor); 18 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(MultiPage<TabbedPage>.ItemsSource), MapItemsSource); 19 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(MultiPage<TabbedPage>.ItemTemplate), MapItemTemplate); 20 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(MultiPage<TabbedPage>.SelectedItem), MapSelectedItem); 21 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(CurrentPage), MapCurrentPage); 31 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(PlatformConfiguration.iOSSpecific.Page.PrefersHomeIndicatorAutoHiddenProperty), MapPrefersHomeIndicatorAutoHiddenProperty); 32 TabbedViewHandler.Mapper.ReplaceMapping<TabbedPage, ITabbedViewHandler>(nameof(PlatformConfiguration.iOSSpecific.Page.PrefersStatusBarHiddenProperty), MapPrefersPrefersStatusBarHiddenProperty);