Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Changing a TabbedPage CurrentPage when using MVVM and Xaml

$
0
0

Hey all,

Just wondered if this is possible and how to do it.

I essentially have a TabbedPage with a couple of tabs. I want to be able to switch the tabs programmatically. All my views are defined in xaml and am using the MVVM pattern.

My initial thoughts were to bind to the CurrentPage and switch it using that, but I just got exceptions from that.

Can anyone point me in the right direction?

Thanks

Matt


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>