Skip to main content
net8.0net8.0-android34.0net8.0-ios17.0net9.0net9.0-android35.0net9.0-ios18.0

Extended Features for TabbedPage in .NET MAUI

Published
Oct 8, 2025
1y ago
Total Downloads
5.7K
5,710

Install

dotnet add package Plugin.TabbedPage.Maui --version 1.2.8
ProductVersions
.NET
net8.0net8.0-android34.0net8.0-ios17.0net9.0net9.0-android35.0net9.0-ios18.0

README

Extended Features for TabbedPage in .NET MAUI

Version Downloads Buy Me a Coffee

This library extends the existing TabbedPage in .NET MAUI with new features such as badge text.

Download and Install Plugin.TabbedPage.Maui

This library is available on NuGet: Plugin.TabbedPage.Maui
Use the following command to install Plugin.TabbedPage.Maui using the NuGet package manager console:

PM> Install-Package Plugin.TabbedPage.Maui

You can use this library in any .NET MAUI project compatible with .NET 8 and higher.

App Setup

This plugin provides an extension method for MauiAppBuilder called UseTabbedPage, which ensures proper startup and initialization.
Call this method within your MauiProgram just as demonstrated in the TabbedPageDemoApp:

var builder = MauiApp.CreateBuilder()
    .UseMauiApp<App>()
    .UseTabbedPage();

API Usage

The following sections provide code snippets demonstrating how to use TabbedPage extensions. All available features and their usage can be explored in the sample app included in this repository.

General coloring

tbd

  • BarBackgroundColor
  • UnselectedTabColor
  • SelectedTabColor
FontFamily and FontSize

tbd

  • t:TabbedPage.FontFamily
  • t:TabbedPage.FontSize
Android-specific options

tbd

  • t:TabBadge.BadgePosition
  • t:TabBadge.BadgeText
  • ta:TabBadge.BadgeColor
  • ta:TabBadge.BadgeTextColor
iOS-specific options

tbd

  • ti:TabbedPage.NormalBadgeBackgroundColor
  • ti:TabbedPage.SelectedBadgeBackgroundColor
Item Reselection

ItemReselected is a feature used in a TabbedPage to detect when a user taps on a tab that is already selected. Unlike regular selection events that respond only to tab changes, ItemReselected triggers when the current tab is re-tapped. This is useful for refreshing content, scrolling to the top, or resetting the state within the active tab.

Apply ItemReselectedBehavior to the TabbedPage as demonstrated below. You can either use the ItemReselected event with an event handler in code-behind or bind a command to ItemReselectedCommand from your binding context.

<TabbedPage
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:t="http://plugin.tabbedpage.maui">
    <TabbedPage.Behaviors>
        <t:ItemReselectedBehavior
            ItemReselected="OnItemReselected"
            ItemReselectedCommand="{Binding ItemReselectedCommand}" />
    </TabbedPage.Behaviors>

Contribution

Contributors welcome! If you find a bug or want to propose a new feature, feel free to do so by opening a new issue on GitHub.

Links

Changes from Previous Version

No structural changes between v1.2.7-pre and v1.2.8.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.