I am using IsReadOnlyBinding property do disable some rows in my grid. Unfortunatly such read only row can by deleted by pressing "delete" keyboard button. I don't understand why, maybe there is some secret logic ;)
So I would like to 'fix' this logic by myself. Unfortunately (second time) I cannot find any ReadOnly property for row which help me cancel Deleting event.
So I do not have a choice and I have to duplicate my ReadOnly logic once in xaml for IsReadOnlyBinding property and second in Deleting event.
By the way, why I cannot modified Items property in GridViewAddingNewEventArgs? I could remove read only rows and continue the event.
Thank you for any help.