Spread Windows Forms 12.0 Product Documentation
GcDateTimeCellType Constructor()
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcDateTimeCellType Class > GcDateTimeCellType Constructor : GcDateTimeCellType Constructor()
Initializes a new instance of the GcDateTimeCellType class.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New GcDateTimeCellType()
public GcDateTimeCellType()
Example
This example creates a GcDateTime cell.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.EditMode = GrapeCity.Win.Spread.InputMan.CellType.EditMode.Overwrite;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType
inputcell.EditMode = GrapeCity.Win.Spread.InputMan.CellType.EditMode.Overwrite
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also

Reference

GcDateTimeCellType Class
GcDateTimeCellType Members
Overload List