Gets or sets the default active field of the cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property DefaultActiveField As DateFieldInfo |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GcDateTimeCellType
Dim value As DateFieldInfo
instance.DefaultActiveField = value
value = instance.DefaultActiveField |
Property Value
A
GrapeCity.Win.Views.Field value that indicates the default active field.
Exceptions
Remarks
Example
This example uses the DefaultActiveField property.
C# | Copy Code |
---|
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
datecell.DefaultActiveField = datecell.Fields[2];
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell; |
VB.NET | Copy Code |
---|
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
datecell.DefaultActiveField = datecell.Fields(2)
FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell |
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