Xamarin.Forms - How to disable Tab on TabbedPage? -


i'm looking way disable tab within tabbedpage. tab should still showing in tabbedpage header disabled.

i tried set page isenabled = false apparently not how or did wrong. :)

you can create custom renderer tabbed page control , disable user interaction in platform specific implementation of renderer.

for example renderer ios use uitabbarcontrollerdelegate protocol override

- (bool)tabbarcontroller:(uitabbarcontroller *)tabbarcontroller shouldselectviewcontroller:(uiviewcontroller *)viewcontroller 

and return no tab should not selectable. solution android or windows phone work similar.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -