Spread Windows Forms 8.0 Product Documentation
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.
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

Reference

DropDownCalendar Class
DropDownCalendar Members

 

 


Copyright © GrapeCity, inc. All rights reserved.