I try to clear an existing ObservableCollection by using a simple Collection.Clear()
.
It throws:
System.ArgumentOutOfRangeException:
The text associated with this error code could not be found.
Index was out of range. Must be non-negative and less than the size of the collection.
This collection is associated with a ComboxBox in a Flyout I just hide before trying to clear. What else should I do?