Hey all, so I have an ObservableCollection of UserControls. These user controls have their own xaml and each of these has some type of "Close" button so it would be removed from the ObservableCollection.
A groupbox is binded to the ObservableCollection so it would show all the UserControls. When a user clicks on the "Close" button, the user control is removed from the ObservableCollection and thus, the groupbox. How can I do this?
I've tried something like
where asdf is a UserControl but I get a bunch of compiler errors.
View Complete Post