Syncfusion.Grid.Windows


CurrentCellRejectedChanges Event (GridControlBase)

Occurs when the grid rejects changes made to the active current cell.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Occurs when the grid rejects changes made to the active current cell.")>
Public Event CurrentCellRejectedChanges As EventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As EventHandler
 
AddHandler instance.CurrentCellRejectedChanges, handler
[Category("Behavior")]
[Description("Occurs when the grid rejects changes made to the active current cell.")]
public event EventHandler CurrentCellRejectedChanges
Remarks
The grid raises this event when the CurrentCell object's GridCurrentCell.RejectChanges method is called. GridCurrentCell.Deactivate and GridCurrentCell.CancelEdit call this method when the current cell was in editing mode and its contents were modified.

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

You can find out about the current cell's position by querying the GridCurrentCell.RowIndex and GridCurrentCell.ColIndex properties of the CurrentCell object in GridControlBase.

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

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also