Desperately finding a solution to delete rows in Collections

In the properties, under which event do i need to paste the code?