I created a UserControl now I want to use several of these controls in stack panel
<StackPanel>
<local:myUserControl/>
<local:myUserControl/>
<local:myUserControl/>
</StackPanel>
UserControl has a button that whene the user click on it, UserControl must be removed from the StackPanel.
How should I implement this?