Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridControlBase Class : ShouldDeleteKeyClearCurrentCellContentsOnly Method

ShouldDeleteKeyClearCurrentCellContentsOnly Method

When the user presses Delete the current cell renderer checks this method whether it should handle the Delete key or if Delete key should get passed onto grid. Method returns true if CurrentCell Renderer should handle Delete key, optionally raising a CurrentCellDeleting event. It returns false if grid should handle the key, possibly raising a ClearingCells event
Syntax
'Declaration
 
Public Overridable Function ShouldDeleteKeyClearCurrentCellContentsOnly() As Boolean
'Usage
 
Dim instance As GridControlBase
Dim value As Boolean
 
value = instance.ShouldDeleteKeyClearCurrentCellContentsOnly()
public virtual bool ShouldDeleteKeyClearCurrentCellContentsOnly()

Return Value

True if CurrentCell Renderer should handle Delete key, optionally raising a CurrentCellDeleting event; false if grid should handle the key, possibly raising a ClearingCells event.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also