I want to implement an ItemsControl with a button that adds the same content with another ViewModel. So far I have this code:
<ItemsControl ItemsSource="{Binding Items}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Controls:ItemView />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
The button should always be the last item in the control and it should have only one add button. Does anyone have a good solution? I could do it on my own with ugly workarounds but I hate ugly workarounds :)