Plugin.TabbedPage.Maui 1.1.6-pre

This is a prerelease version of Plugin.TabbedPage.Maui.
dotnet add package Plugin.TabbedPage.Maui --version 1.1.6-pre
                    
NuGet\Install-Package Plugin.TabbedPage.Maui -Version 1.1.6-pre
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.TabbedPage.Maui" Version="1.1.6-pre" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.TabbedPage.Maui" Version="1.1.6-pre" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.TabbedPage.Maui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.TabbedPage.Maui --version 1.1.6-pre
                    
#r "nuget: Plugin.TabbedPage.Maui, 1.1.6-pre"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.TabbedPage.Maui@1.1.6-pre
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.TabbedPage.Maui&version=1.1.6-pre&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.TabbedPage.Maui&version=1.1.6-pre&prerelease
                    
Install as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios17.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.6-pre 415 5/16/2025
1.1.2-pre 136 5/11/2025
1.0.10-pre 143 4/30/2025
1.0.9 270 4/25/2025
1.0.8-pre 130 4/19/2025
1.0.7-pre 205 4/15/2025
1.0.6-pre 193 4/14/2025
1.0.4 311 4/10/2025
1.0.0-pre 167 4/10/2025

1.1
- Add item reselection feature.

1.0
- Initial release.