See the version list below for details.
dotnet add package Xamarin.Forms-IconTabbedPage --version 1.0.1
NuGet\Install-Package Xamarin.Forms-IconTabbedPage -Version 1.0.1
<PackageReference Include="Xamarin.Forms-IconTabbedPage" Version="1.0.1" />
paket add Xamarin.Forms-IconTabbedPage --version 1.0.1
#r "nuget: Xamarin.Forms-IconTabbedPage, 1.0.1"
// Install Xamarin.Forms-IconTabbedPage as a Cake Addin #addin nuget:?package=Xamarin.Forms-IconTabbedPage&version=1.0.1 // Install Xamarin.Forms-IconTabbedPage as a Cake Tool #tool nuget:?package=Xamarin.Forms-IconTabbedPage&version=1.0.1
A Xamarin CustomRenderer that render Icon for TabbedPage for iOS & Android, using Icon property on child pages.
Use IconTabbedPage class instead of TabbedPage class, and add the name of your static image resource on the "Icon" property of your childs pages, eg. "user_icon.png", and it will be loaded and show instead of the tab text.
The behavior of this class is at constructor level, so i strongly advise you to configure your class and childs pages using your own inherited class of IconTabbedPage, or by initializing your content from a XAML context.
Default colors may not be accurate to your needs. In addition of the standards properties used on TabbedPage like "BarBackgroundColor" and "BarTextColor", IconTabbedPage expose a "UnselectedTextColor" in order to override the filled color of your Icon when a Tab is unselected.
This plugin is highly inspired from solutions founds on the Xamarin forum, thanks to all contributors.
|Product||Versions Compatible and additional computed target framework versions.|
|MonoAndroid||monoandroid10 is compatible.|
|Xamarin.iOS||xamarinios10 is compatible.|
- Xamarin.Forms (>= 220.127.116.11)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- Replaced French documentation on UnselectedTextColor property by the right English one.