Spread Windows Forms 7.0 Product Documentation
ScrollYear Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : ScrollYear Method


yearOffset
An integer type used to denote the number of calendar years to scroll and the direction in which to scroll them.

Glossary Item Box

Scrolls the calendar year according to the numbers specified.

Syntax

Visual Basic (Declaration) 
Public Sub ScrollYear( _
   ByVal yearOffset As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DropDownCalendar
Dim yearOffset As Integer
 
instance.ScrollYear(yearOffset)
C# 
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.

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.