I had already posted this, but it disappeared ?!
Apologies if this isn't the right place to post this and/or my format isn't correct.
I created a new Xamarin.Forms project using the flyout template.
Then, I followed the instructions @ [docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/installation] to add a UWP project (Im, not allowed to post links, new user =P).
Then I added the xaml (below) in AppShell.xaml (Xamarin.Forms project).
When I run the project all seems to work right, but when I'm clicking through the menu elements (below), as soon as I click the 3rd element (regardless of the order), the application crashes with "The operation attempted to access data outside the valid range" in the UnhandledException exception handler in the generated App.g.i.cs file. No further details are given, not even a stack trace (crash was probably in native code).
I get the same behavior if I add the menu elements at runtime (Shellcontent wrapped in a Tab, multiple tabs wrapped in a FlyoutItem with AsMultipleItems set as the FlyoutDisplayOptions).
XAmarin.Forms Version: 126.96.36.1994
I can include the project if required.
<FlyoutItem FlyoutDisplayOptions="AsMultipleItems"> <Tab Title="1"> <ShellContent> <local:AboutPage /> </ShellContent> </Tab> <Tab Title="2"> <ShellContent> <local:ItemDetailPage /> </ShellContent> </Tab> <Tab Title="3"> <ShellContent> <local:ItemsPage /> </ShellContent> </Tab> <Tab Title="4"> <ShellContent> <local:LoginPage /> </ShellContent> </Tab> <Tab Title="5"> <ShellContent> <local:NewItemPage /> </ShellContent> </Tab> </FlyoutItem>