Spread Windows Forms 12.0 Product Documentation
AllowDeleteToNull Property

GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcNumberCellType Class : AllowDeleteToNull Property
Gets or sets a value that indicates whether to allow a null value when deleting the contents.
Public Property AllowDeleteToNull As Boolean
Dim instance As GcNumberCellType
Dim value As Boolean
instance.AllowDeleteToNull = value
value = instance.AllowDeleteToNull
public bool AllowDeleteToNull {get; set;}

Property Value

true if allowing a null value when deleting; otherwise, false.
This example displays 0 if the cell value is null after deleting.
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell.AllowDeleteToNull = false;
fpSpread1.Sheets[0].Cells[0, 0].CellType = ncell;
Dim ncell As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell.AllowDeleteToNull = False
fpSpread1.Sheets(0).Cells(0, 0).CellType = ncell
See Also


GcNumberCellType Class
GcNumberCellType Members