The eventDeleteHandling property (string) enables built-in event deleting icon and sets the default action.
"Disabled"
dp.eventDeleteHandling = "Update";