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

Remove Child element in Grid

$
0
0

I have a XAML grid in which a child dynamically generate.
Then I need to remove that child item.
In the collection of children it is the index 6
I try to

myGrid.Children.RemoveAt(6);

But I get this error:

" Collection was modified ; enumeration operation may not execute . "


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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