Spread Windows Forms 12.0 Product Documentation
IncrementValue Property
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DateSpin Class : IncrementValue Property
Gets or sets the increment value.
Syntax
'Declaration
 
Public Property IncrementValue As TimeSpan
'Usage
 
Dim instance As DateSpin
Dim value As TimeSpan
 
instance.IncrementValue = value
 
value = instance.IncrementValue
public TimeSpan IncrementValue {get; set;}

Property Value

A System.TimeSpan value that indicates the increment value.
Example
This example uses the IncrementValue 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

DateSpin Class
DateSpin Members