Spread Windows Forms 12.0 Product Documentation
ScrollYear Method


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.
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

Reference

DropDownCalendar Class
DropDownCalendar Members