Spread Windows Forms 7.0 Product Documentation
GcDateTimeCellType Constructor()
See Also  Example Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcDateTimeCellType Class > GcDateTimeCellType Constructor : GcDateTimeCellType Constructor()


Glossary Item Box

Initializes a new instance of the GcDateTimeCellType class.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New GcDateTimeCellType()
C# 
public GcDateTimeCellType()

Example

This example creates a GcDateTime cell.
C#Copy Code
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;
VB.NETCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.