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 -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -