title: Converting CarouselPage to CarouselView
body: <p>Is it possible to add direct content to a CarouselView in Xaml?</p>
  <p>I need to convert an old CarouselPage to the newer CarouselView, but it looks like it must be data bound. But my content for each slide is entirely different and does not easily lend itself to an item template.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
  &lt;CarouselPage xmlns=&quot;http://xamarin.com/schemas/2014/forms&quot;
                xmlns:x=&quot;http://schemas.microsoft.com/winfx/2009/xaml&quot;
                x:Class=&quot;myCarousel&quot; 
                x:Name=&quot;carouselPage&quot;
  NavigationPage.HasNavigationBar=&quot;false&quot; BackgroundColor=&quot;#000000&quot;&gt;
      &lt;ContentPage BackgroundColor=&quot;#000000&quot;&gt;
          &lt;StackLayout BackgroundColor=&quot;#000000&quot;&gt;
              &lt;Label Text=&quot;Lorem ipsum&quot; /&gt;
              &lt;ImageButton Margin=&quot;0,20&quot; Source=&quot;btn_continue&quot; HorizontalOptions=&quot;Center&quot; HeightRequest=&quot;30&quot; Clicked=&quot;Go_Right&quot; /&gt;
          &lt;/StackLayout&gt;
      &lt;/ContentPage&gt;
      &lt;ContentPage BackgroundColor=&quot;#000000&quot;&gt;
          &lt;StackLayout BackgroundColor=&quot;#000000&quot;&gt;
              &lt;Button Text=&quot;X&quot; TextColor=&quot;White&quot; BackgroundColor=&quot;Transparent&quot; VerticalOptions=&quot;Start&quot; HorizontalOptions=&quot;End&quot; Clicked=&quot;Go_Home&quot;&gt;&lt;/Button&gt;
              &lt;ImageButton Source=&quot;slider-2&quot; Aspect=&quot;AspectFill&quot; HorizontalOptions=&quot;FillAndExpand&quot; VerticalOptions=&quot;Start&quot;  /&gt;
              &lt;Grid Margin=&quot;0,20&quot; VerticalOptions=&quot;Start&quot;&gt;
                  &lt;Grid.ColumnDefinitions&gt;
                      &lt;ColumnDefinition Width=&quot;*&quot; /&gt;
                      &lt;ColumnDefinition Width=&quot;*&quot; /&gt;
                  &lt;/Grid.ColumnDefinitions&gt;
                  &lt;ImageButton Source=&quot;btn_back&quot; HorizontalOptions=&quot;Center&quot; HeightRequest=&quot;30&quot; Grid.Column=&quot;0&quot; Clicked=&quot;Go_Left&quot; /&gt;
                  &lt;ImageButton Source=&quot;btn_close&quot; HorizontalOptions=&quot;Center&quot; HeightRequest=&quot;30&quot; Grid.Column=&quot;1&quot; Clicked=&quot;Go_Home&quot; /&gt;
              &lt;/Grid&gt;
          &lt;/StackLayout&gt;
      &lt;/ContentPage&gt;
  
  &lt;/CarouselPage&gt;
  </code></pre>
  <p>I need to create a multi-slide carousel, where each slide has different content like above. How would I convert that using CarouselViews?</p>
  <p>The problem I am having with the CarouselPage is that it does not always behave consistently, which is why I imagine they are slowly deprecating it.</p>