Home › Forums › WinForms controls › Xceed Grid for WinForms › canceling in dataRowTemplate2_EndingEdit
Sub dataRowTemplate2_EndingEdit(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles dataRowTemplate2.EndingEdit
when a datarow EndingEdit event is fired, what is the difference between canceling the edit with:
and canceling edit with:
e.Canel = True
Imported from legacy forums. Posted by t (had 1773 views)
I think it’s good practice to use e.Cancel = True. That’s what it’s for. I think internally it calls CancelEdit, but I’m not sure.
Imported from legacy forums. Posted by Tommy (had 2929 views)