Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Xamarin.Forms.ElementCollection implementation and WP problem

$
0
0

I have a form with a StackLayout. I add a few Views (Entry, DateTime, etc.) and show the form.

If I call the StackLayout's "Children.Remove" on one of the views and then try to add it again I get the exception "Value does not fall within the expected range."

This only happens on Windows Phone. Android and iOS behave as expected.

It's important to note that the exception is raised only after the screen has been shown.

Any thoughts?

Thanks in advance,

Mike


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>