Horizontal Scrolling inside a tabbedPage

Hey,

this is my basic setup:
<TabbedPage> <TabbedPage.Children> <ContentPage> <Content of tab 1 /> </ContentPage> <ContentPage> <Content of tab 2 /> </ContentPage> </TabbedPage.Children> </TabbedPage>

So, what I want is the following:
In the first tab should appear 5 Buttons in a row (!), which I can scroll horizontal.
I already tried a Grid Layout, but the grid isn't showing:
<ContentPage Title="Tab1" > <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Button Text="Button 1" Grid.Row="0" Grid.Column="0"/> <Button Text="Button 2" Grid.Row="0" Grid.Column="1"/> <Button Text="Button 3" Grid.Row="0" Grid.Column="2"/> <Button Text="Button 4" Grid.Row="0" Grid.Column="3"/> <Button Text="Button 5" Grid.Row="0" Grid.Column="4"/> <Button Text="Button 6" Grid.Row="0" Grid.Column="5"/> <Button Text="Button 7" Grid.Row="0" Grid.Column="6"/> </Grid> <Some more labels and stuff here /> </ContentPage> <Some more stuff and closing tags of tabbedpage.children and tabbedpage />

How can I achieve the horizontal scrolling affect for the 7 buttons?

Best Answer

Answers

Sign In or Register to comment.