TabsBuilder

Declares the application's tabs.
public sealed class TabsBuilder

Methods

Accessory

Shows a view of the given type in the tab bar's accessory slot.

The view's IsVisible controls the slot. iOS 26 and later.

public TabsBuilder Accessory<TView>() where TView : View, new()
Type parameterSummary
View TViewThe view type to host.

Returns

Bubble

Puts a destination page in the separated bubble on iOS 26, with a regular tab fallback on earlier versions.

public TabsBuilder Bubble<TView>(
  string title,
  ImageSource icon) where TView : ContentView
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Type parameterSummary
ContentView TViewThe type of the content view to host in the bubble.

Returns

Bubble

Puts an action button in the separated bubble instead of search, with a regular tab-shaped action on earlier versions.

The bubble is single: Search and Bubble exclude each other.

public TabsBuilder Bubble(
  string title,
  ImageSource icon,
  Action tapped)
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Action tappedRuns on tap.

Returns

Bubble

Puts an action button in the separated bubble, firing a command from a ViewModel resolved from the services.

public TabsBuilder Bubble<TViewModel>(
  string title,
  ImageSource icon,
  Func<TViewModel, ICommand> command,
  object? commandParameter = null) where TViewModel : class
ParameterSummary
string titleThe title, shown in the sidebar and read by VoiceOver.
ImageSource iconThe local icon shown in the bubble.
Func<TViewModel, ICommand> commandPicks the command off the ViewModel.
(optional) object? commandParameterThe parameter passed to the command.
Type parameterSummary
(class) TViewModelThe ViewModel type carrying the command.

Returns

LargeTitles

Enables large, expanding navigation titles for the tab pages.

public TabsBuilder LargeTitles()

Returns

Minimizes

Lets the tab bar minimize as the content scrolls.

iOS 26 and later.

public TabsBuilder Minimizes(
  TabBarMinimize minimize = OnScrollDown)
ParameterSummary
(optional) TabBarMinimize minimizeWhen the bar minimizes.

Returns

OnPad

Configures everything iPad: the sidebar, tab placements and iPad-only destinations.

Ignored on iPhone.

public TabsBuilder OnPad(
  Action<PadTabsBuilder> configure)
ParameterSummary
Action<PadTabsBuilder> configureConfigures the iPad layout.

Returns

Adds the system search destination. It is a regular tab on iOS 18 and uses the separated search presentation on iOS 26.

public TabsBuilder Search<TView>() where TView : ContentView
Type parameterSummary
ContentView TViewThe type of the content view to host in the tab.

Returns

Tab

Adds a tab page to the navigation structure.

public TabsBuilder Tab<TView>(
  string title,
  ImageSource icon) where TView : ContentView
ParameterSummary
string titleThe text displayed on the tab bar item.
ImageSource iconThe local icon shown on the tab.
Type parameterSummary
ContentView TViewThe type of the content view to host in the tab.

Returns