How can I use swipe gesture to switch between tabs when using Xamarin Forms Shell TabBar?

gothikgothik ✭✭INMember ✭✭
edited September 19 in Xamarin.Forms

Hi,

I'm looking for swipe gesture usage in xamarin forms shell TabBar (Bottom) to switch between ShellContent.

<Shell xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:local="clr-namespace:p1.Views" Title="p1" x:Class="p1.AppShell"> <TabBar> <Tab Title="Home" Icon="baseline_home_24.xml"> <ShellContent ContentTemplate="{DataTemplate local:HomePage}" /> </Tab> <Tab Title="Page One" Icon="baseline_directions_p1.xml"> <ShellContent ContentTemplate="{DataTemplate local:PageOne}" /> </Tab> <Tab Title="Page Two" Icon="baseline_restaurant_p2.xml"> <ShellContent ContentTemplate="{DataTemplate local:PageTwo}" /> </Tab> </TabBar> </Shell>

Please provide some direction to implement this.

Best Answer

Answers

Sign In or Register to comment.