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

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 75885

Trending Articles