95 references to TabbedPage
Microsoft.Maui.Controls (82)
Hosting\AppHostBuilderExtensions.cs (1)
261
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.Mapper.cs (12)
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);
TabbedPage\TabbedPage.Standard.cs (9)
11
internal static void MapBarBackground(ITabbedViewHandler handler,
TabbedPage
view)
14
internal static void MapBarBackgroundColor(ITabbedViewHandler handler,
TabbedPage
view)
17
internal static void MapBarTextColor(ITabbedViewHandler handler,
TabbedPage
view)
20
internal static void MapUnselectedTabColor(ITabbedViewHandler handler,
TabbedPage
view)
23
internal static void MapSelectedTabColor(ITabbedViewHandler handler,
TabbedPage
view)
27
internal static void MapItemsSource(ITabbedViewHandler handler,
TabbedPage
view)
30
internal static void MapItemTemplate(ITabbedViewHandler handler,
TabbedPage
view)
33
internal static void MapSelectedItem(ITabbedViewHandler handler,
TabbedPage
view)
36
internal static void MapCurrentPage(ITabbedViewHandler handler,
TabbedPage
view)
Microsoft.Maui.Controls.Compatibility (13)
iOS\Renderers\PageRenderer.cs (1)
368
if (Page.Parent is
TabbedPage
)
iOS\Renderers\TabbedRenderer.cs (12)
49
protected
TabbedPage
Tabbed
51
get { return (
TabbedPage
)Element; }
229
if (e.PropertyName == nameof(
TabbedPage
.CurrentPage))
241
else if (e.PropertyName ==
TabbedPage
.BarBackgroundColorProperty.PropertyName)
243
else if (e.PropertyName ==
TabbedPage
.BarBackgroundProperty.PropertyName)
245
else if (e.PropertyName ==
TabbedPage
.BarTextColorProperty.PropertyName)
251
else if (e.PropertyName ==
TabbedPage
.SelectedTabColorProperty.PropertyName || e.PropertyName ==
TabbedPage
.UnselectedTabColorProperty.PropertyName)
449
TabbedPage
.SetIndex(page, i);
458
((
TabbedPage
)Element).CurrentPage = index >= 0 && index < count ? Tabbed.GetPageByIndex(index) : null;
487
if (Tabbed.IsSet(
TabbedPage
.SelectedTabColorProperty) && Tabbed.SelectedTabColor != null)
496
if (Tabbed.IsSet(
TabbedPage
.UnselectedTabColorProperty) && Tabbed.UnselectedTabColor != null)