SHARE
TWEET

Untitled

a guest Aug 19th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <CarouselView ItemsSource="{Binding .}" BackgroundColor="Transparent" HorizontalOptions="Center" VerticalOptions="Center">
  2.     <CarouselView.ItemsLayout>
  3.        <GridItemsLayout SnapPointsAlignment="Center" SnapPointsType="MandatorySingle" Orientation="Horizontal" HorizontalItemSpacing="20"/>
  4.    </CarouselView.ItemsLayout>
  5.    <CarouselView.ItemTemplate>
  6.        <DataTemplate>
  7.            <Grid Grid.Row="1">
  8.                <Grid.ColumnDefinitions>
  9.                    <ColumnDefinition Width="0.1*"/>
  10.                    <ColumnDefinition Width="0.8*"/>
  11.                    <ColumnDefinition Width="0.1*"/>
  12.                </Grid.ColumnDefinitions>
  13.                <Frame VerticalOptions="Fill" BackgroundColor="Accent" Grid.Column="1">
  14.                    <StackLayout VerticalOptions="Center">
  15.                        <Label Text="{Binding TextExample}"/>
  16.                    </StackLayout>
  17.                </Frame>
  18.             </Grid>
  19.         </DataTemplate>
  20.    </CarouselView.ItemTemplate>
  21. </CarouselView>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top