Spread Windows Forms 7.0 Product Documentation
IncrementValue Property
See Also  Example Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DateSpin Class : IncrementValue Property


Glossary Item Box

Gets or sets the increment value.

Syntax

Visual Basic (Declaration) 
Public Property IncrementValue As TimeSpan
Visual Basic (Usage)Copy Code
Dim instance As DateSpin
Dim value As TimeSpan
 
instance.IncrementValue = value
 
value = instance.IncrementValue
C# 
public TimeSpan IncrementValue {get; set;}

Property Value

A System.TimeSpan value that indicates the increment value.

Example

This example uses the IncrementValue property.
C#Copy Code
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;
VB.NETCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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