Forum Xamarin.Forms

Using CarouselView in UWP crashes

using CarouselView from XF in an UWP app (constructed using XAML) just crashes without trace.
Is anybody else having the same issue?
Regards, Sascha


  • rdiazconchardiazconcha MXUniversity ✭✭

    Did you add the required DataTemplate in the App.xaml file?

    It should look as follows:

    <Application.Resources> <DataTemplate x:Key="ItemTemplate"> <uwp:ItemControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" /> </DataTemplate> </Application.Resources>

    And the uwp prefix should point to Xamarin.Forms.Platform namespace. Just as the following example:


    Hope this helps.

  • ShimmyWeitzhandlerShimmyWeitzhandler USMember ✭✭✭

    I'm experiencing the same issue, except for me the crash only happens when I run "Start without debugging".

Sign In or Register to comment.