DEV Community

David Ortinau for .NET

Posted on

Hide Shell Flyout Items and Tabs in Xamarin.Forms

Xamarin.Forms Shell has an IsVisible property you can use to show and hide pages in a flyout or tab bar, and control if those pages are routable based on any criteria such as authorization role.

Resources

GitHub logo davidortinau / ShellLoginSample

Sample of how you can do a LoginPage flow with Shell in v4.1

Top comments (1)

Collapse
 
yapmq profile image
yapmq • Edited

when i tried to apply the same logic to flyoutitem, the IsAdmin value always returns false for some reason. I have tried placing breakpoints during debugging and the value on the code behind was true before being pushed into the page. Any idea what did i do wrong?

my modified code: dev-to-uploads.s3.amazonaws.com/up...