Gets or sets whether the spin behavior is enabled.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AllowSpin As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Spin
Dim value As Boolean
instance.AllowSpin = value
value = instance.AllowSpin |
C# | |
---|
public bool AllowSpin {get; set;} |
Property Value
A
bool value,
true if the spin behavior can be performed; otherwise,
false.
Example
This example uses the AllowSpin 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.NET | Copy 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