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


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcDateTimeCellType Class : Spin Property
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
See Also

Reference

GcDateTimeCellType Class
GcDateTimeCellType Members