This really niggled me for ages before i realized that pressing the delete or backspace keyboard button whilst a feature/shape (in my case a 'Point') is selected in edit mode by the drawing manager then it would actually delete it. I can't allow this to happen otherwise each time i press the backspace button when editing a text label then it ends up deleting it!
As you'll see in the image above, i have designed a custom edit control form where once a feature/shape (in my case a 'Point') is selected then the user can edit the Title text input and the title will dynamically update. But as soon as they press the backspace button on their keyboard, the map thinks I want to delete it.
I need to be able to disable the keybaord shortcuts for delete, if i wanted to delete the feature then I'd select the delete button instead (button with the bin icon) grrr this is so annoying, cant find anything in MS docs that explains how to disable this keyboard shortcut?