Syncfusion.Grid.Windows


CurrentCellDeleting Event

Occurs when the user presses the Delete key on an active current cell.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs when the user presses the Delete key on an active current cell.")>
<CategoryAttribute("Behavior")>
Public Event CurrentCellDeleting As CancelEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As CancelEventHandler
 
AddHandler instance.CurrentCellDeleting, handler
[Description("Occurs when the user presses the Delete key on an active current cell.")]
[Category("Behavior")]
public event CancelEventHandler CurrentCellDeleting
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 will delete contents of the current cell. You can cancel the operation by setting System.ComponentModel.CancelEventArgs.Cancel to True.

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