Spread Windows Forms 10.0 Product Documentation
Spin Property (GcDateTimeCellType)
Example 


Gets the spin function settings.
Syntax
'Declaration
 
Public ReadOnly Property Spin As DateSpin
'Usage
 
Dim instance As GcDateTimeCellType
Dim value As DateSpin
 
value = instance.Spin
public DateSpin Spin {get;}

Property Value

A DateSpin value that indicates the spin function settings.
Remarks
The spin behaviors can be customized by setting this Spin property.
Example
This example uses the Spin property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
datecell.Spin.AllowSpin = true;
datecell.Spin.IncrementValue = new TimeSpan(2);
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
datecell.Spin.AllowSpin = True
datecell.Spin.IncrementValue = New TimeSpan(2)
FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell
Requirements

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

See Also

Reference

GcDateTimeCellType Class
GcDateTimeCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.