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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

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