/TabView

TabView control for Xamarin.Forms.

Primary LanguageC#MIT LicenseMIT

TabView

TabView control for Xamarin.Forms.
Requires CarouselView plugin.

Also available on NuGet : https://www.nuget.org/packages/Xam.Plugin.TabView NuGet

Make sure to initialize the CarouselView plugin first before using TabView. To do so, in your iOS and Android projects call:

Xamarin.Forms.Init();
CarouselViewRenderer.Init();

And in your UWP project call:

List<Assembly> assembliesToInclude = new List<Assembly>();
assembliesToInclude.Add(typeof(CarouselViewRenderer).GetTypeInfo().Assembly);
Xamarin.Forms.Forms.Init(e, assembliesToInclude);

Bindable properties:

  • HeaderBackgroundColor
  • HeaderTabTextColor
  • ContentHeight
  • HeaderSelectionUnderlineColor
  • HeaderSelectionUnderlineThickness
  • HeaderSelectionUnderlineWidth
  • HeaderTabTextFontSize
  • HeaderTabTextFontFamily
  • HeaderTabTextFontAttributes

Events:

  • OnPositionChanging
  • OnPositionChanged

Functions:

  • SetPosition
  • SelectNext
  • SelectPrevious
  • SelectLast
  • AddTab
  • RemoveTab

Screenshots:

TabView preview on UWP

TabView preview on Android