Plugin.ProXamTabs 1.5.7

dotnet add package Plugin.ProXamTabs --version 1.5.7
NuGet\Install-Package Plugin.ProXamTabs -Version 1.5.7
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.ProXamTabs" Version="1.5.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.ProXamTabs --version 1.5.7
#r "nuget: Plugin.ProXamTabs, 1.5.7"
#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.
// Install Plugin.ProXamTabs as a Cake Addin
#addin nuget:?package=Plugin.ProXamTabs&version=1.5.7

// Install Plugin.ProXamTabs as a Cake Tool
#tool nuget:?package=Plugin.ProXamTabs&version=1.5.7

PXTabs

  • A tab layout that is more customizable and easier to use than trying to implement the native layouts.
  • Written entirely in Forms with no native code.
  • Check out the TabsPage in the examples for implementation.

NuGet

https://www.nuget.org/packages/Plugin.ProXamTabs

Implementation

All properties are bindable.

PXTabsView

  1. If implementing in Xaml, add the namespace xmlns:pxTabs="clr-namespace:Plugin.ProXamTabs.Shared;assembly=Plugin.ProXamTabs"".
  2. Add the view to your page, set the tab bar on top or bottom by setting IsTabBarOnTop:
<pxTabs:PXTabsView
    x:Name="tabsView"
    BorderColor="Teal"
    SliderColor="Teal"
    IsBorderOnBottom="False"
    IsBorderVisible="True"
    IsSliderOnBottom="False"
    IsSliderVisible="True"
    IsTabBarOnTop="False"/>
  1. Create a list of PXTabs and and them to the tab view: tabsView.Tabs = [YourListOfTabs];, or bind the list directly. The PXTab is fully customisable:
new PXTab()
{
    TabId = 1,
    TabView = new HomeView(),
    Text = "Home",
    SelectedImage = "tab_home",
    UnselectedImage = "tab_home_gray",
    SelectedColor = Color.Gray,
    UnSelectedColor = Color.Black,
    TextSize = 12,
    ImageSize = 24,
    BadgeCount = 3,
    BadgeColor = Color.Blue
};
  1. Setting the TabView property of a PXTab will be the view that will be shown when the tab is selected.

PXTabsLayout

If you do not want the PXTabsView to handle the switching of the views, you can simply use the PXTabsLayout which will give you the tab bar that you can place anywhere in your view. Use the Command<PXTab> TabSelectedCommand property to detect the change in tab selection.

Screenshots

iOS

alt text

Android

alt text

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid80 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed.  uap10.0.15063 is compatible. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed.  xamarintvos10 is compatible. 
Xamarin.WatchOS xamarinwatchos was computed.  xamarinwatchos10 is compatible. 
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.5.7 3,908 5/24/2018
1.5.6 3,856 4/16/2018
1.5.5 1,438 4/5/2018
1.5.4 1,376 3/20/2018
1.5.3 1,426 3/14/2018
1.5.2 1,311 3/12/2018
1.5.1 1,400 3/10/2018
1.5.0 1,369 3/7/2018