Syncfusion.Windows.Forms.Grid Namespace > GridControlBase Class : CurrentCellDeactivateFailed Event

CurrentCellDeactivateFailed Event

Occurs after the grid fails to deactivate the current cell.
<DescriptionAttribute("Occurs after the grid fails to deactivate the current cell.")>
Public Event CurrentCellDeactivateFailed As EventHandler
Dim instance As GridControlBase
Dim handler As EventHandler
AddHandler instance.CurrentCellDeactivateFailed, handler
[Description("Occurs after the grid fails to deactivate the current cell.")]
public event EventHandler CurrentCellDeactivateFailed
The grid raises this event when the CurrentCell object's GridCurrentCell.Deactivate method is called and can not deactivate the current cell. The reason deactivation may fail could be that the cell's contents were invalid or any of the event handlers associated with deactivating the current cell signaled to abort this operation.

You can determine if GridCurrentCell.Deactivate was called stand-alone or as result of a GridCurrentCell.MoveTo call by checking the GridCurrentCell.IsInMoveTo property.

See GridCurrentCell.MoveTo for a discussion about the order of events that you receive when the current cell is moved.


Syncfusion.Grid.Windows: 17.3460.0.14

See Also