Syncfusion.Grid.Windows


CurrentCellAcceptedChanges Event (GridControlBase)

Occurs when the grid accepts changes made to the active current cell.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs when the grid accepted changes made to the active current cell.")>
<CategoryAttribute("Behavior")>
Public Event CurrentCellAcceptedChanges As CancelEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As CancelEventHandler
 
AddHandler instance.CurrentCellAcceptedChanges, handler
[Description("Occurs when the grid accepted changes made to the active current cell.")]
[Category("Behavior")]
public event CancelEventHandler CurrentCellAcceptedChanges
Event Data

The event handler receives an argument of type CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.

PropertyDescription
 
Remarks
The grid raises this cancelable event when the CurrentCell object's GridCurrentCell.ConfirmChanges method is called. GridCurrentCell.Deactivate and GridCurrentCell.EndEdit call this method when the current cell was in editing mode and its contents were modified and validated.

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

If you assign true to System.ComponentModel.CancelEventArgs.Cancel, the grid will not deactivate the current cell.

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