Forum Xamarin.Forms

Is there a way to hide Tab inside Shell TabBar?

iooovoltsiooovolts Member ✭✭✭

I have an application where I want to display a Tab called Upgrade when users have not paid for a subscription and never show the Tab when they are paid users.

I have tried to find an IsVisible property but can't... the closest thing to what I want is IsEnabled but it leaves a blank space in the location of the now insvisible Tab.

Does anyone know how I can achieve this? Or perhaps a better way to reach my object... thanks in advance!

Best Answer

Answers

  • JoeMankeJoeManke USMember ✭✭✭✭✭
    edited November 2019

    I haven't worked with Shell yet, but when using a TabbedPage I just remove (or more accurately, never add) the page if the user doesn't have the feature enabled.

  • iooovoltsiooovolts Member ✭✭✭

    @LandLu thanks!

Sign In or Register to comment.