Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Spin Class / AllowSpin Property
Example


In This Topic
    AllowSpin Property
    In This Topic
    Gets or sets whether the spin behavior is enabled.
    Syntax
    'Declaration
     
    Public Property AllowSpin As Boolean
    'Usage
     
    Dim instance As Spin
    Dim value As Boolean
     
    instance.AllowSpin = value
     
    value = instance.AllowSpin
    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.
    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