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

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 91519

Trending Articles



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