I know it is possible to do this by working with ICommand, but since this is the only place in my whole project where this is needed, I am asking myself, if there is maybe a bet
why not use ToggleButton and bind IsChecked property to IsToDelete property of a viewModel?
ToggleButton
IsChecked
IsToDelete
simplified example with ItemsControl
ItemsControl