Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownCalendar Class / ScrollYear Method
An integer type used to denote the number of calendar years to scroll and the direction in which to scroll them.


In This Topic
    ScrollYear Method
    In This Topic
    Scrolls the calendar year according to the numbers specified.
    Syntax
    'Declaration
     
    
    Public Sub ScrollYear( _
       ByVal yearOffset As Integer _
    ) 
    'Usage
     
    
    Dim instance As DropDownCalendar
    Dim yearOffset As Integer
     
    instance.ScrollYear(yearOffset)
    public void ScrollYear( 
       int yearOffset
    )

    Parameters

    yearOffset
    An integer type used to denote the number of calendar years to scroll and the direction in which to scroll them.
    Remarks
    The DropDownCalendar moves its display year using this method based on the given year offset.
    See Also